|
From: Alexey S. <al...@as...> - 2014-09-15 19:25:14
|
You declared CPtlDll::~CPtlDll(), but never defined it. 2014-09-15 11:07 GMT+01:00 Mikael Plouhinec <mip...@sq...>: > Hello, > > I try to use swig with Python and C++ but id doesn't work. > > I don't know what I do wrong. > > I create a very simple example (see attachments). > > I try to execute this on debian wheezy with the following commands : > > swig -c++ -python PtlDll.i > g++ -fPIC -c PtlDll.cpp PtlDll_wrap.cxx -I /usr/include/python2.7/ -lstdc++ > g++ -fPIC -shared *.o -o _PtlDll.so > python run.py > > But I have an undefined symbol error. > > I found a lot of pages on the net but I don't resolve my problem. > > Can someone help me? > > Thanks. > > Best Regards. > > Mikael PLOUHINEC > > > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Swig-user mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-user > |