[SOLVED]Linking 2 c++ libraries with D

2013-06-28 Thread Milvakili
On Friday, 28 June 2013 at 04:21:19 UTC, Milvakili wrote: On Friday, 28 June 2013 at 02:34:01 UTC, Juan Manuel Cabo wrote: On 06/27/2013 10:12 PM, Milvakili wrote: I have successfully link c++ with D. Have ever when I create a dependency: cpp2-cpp1-d when compile with dmd dmd cpp1.a cpp2.a

Linking 2 c++ libraries with D

2013-06-27 Thread Milvakili
I have successfully link c++ with D. Have ever when I create a dependency: cpp2-cpp1-d when compile with dmd dmd cpp1.a cpp2.a file.d -L-lstdc++ It compiles but when I run it I get relocation error: some path: symbol _ZNSsC1EPKcRKSaIcE, version GLIBCXX_3.4 not defined in file libstdc++.so.6

Re: Linking 2 c++ libraries with D

2013-06-27 Thread Adam D. Ruppe
On Friday, 28 June 2013 at 01:12:11 UTC, Milvakili wrote: relocation error: some path: symbol _ZNSsC1EPKcRKSaIcE, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference did you compile the C++ and run the program on the same computer? This is complaining that it

Re: Linking 2 c++ libraries with D

2013-06-27 Thread Milvakili
On Friday, 28 June 2013 at 01:39:49 UTC, Adam D. Ruppe wrote: On Friday, 28 June 2013 at 01:12:11 UTC, Milvakili wrote: relocation error: some path: symbol _ZNSsC1EPKcRKSaIcE, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference did you compile the C++ and run the

Re: Linking 2 c++ libraries with D

2013-06-27 Thread Milvakili
On Friday, 28 June 2013 at 01:42:35 UTC, Milvakili wrote: On Friday, 28 June 2013 at 01:39:49 UTC, Adam D. Ruppe wrote: On Friday, 28 June 2013 at 01:12:11 UTC, Milvakili wrote: relocation error: some path: symbol _ZNSsC1EPKcRKSaIcE, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with

Re: Linking 2 c++ libraries with D

2013-06-27 Thread Juan Manuel Cabo
On 06/27/2013 10:12 PM, Milvakili wrote: I have successfully link c++ with D. Have ever when I create a dependency: cpp2-cpp1-d when compile with dmd dmd cpp1.a cpp2.a file.d -L-lstdc++ I tried it and it works _perfectly_ for me, but instead of .a I compiled the C++ files to .o

Re: Linking 2 c++ libraries with D

2013-06-27 Thread Milvakili
On Friday, 28 June 2013 at 02:34:01 UTC, Juan Manuel Cabo wrote: On 06/27/2013 10:12 PM, Milvakili wrote: I have successfully link c++ with D. Have ever when I create a dependency: cpp2-cpp1-d when compile with dmd dmd cpp1.a cpp2.a file.d -L-lstdc++ I tried it and it works _perfectly_ for