[PyKDE] Re: How can I use SIP to wrap STL class?
ejoy
ejoy at peoplemail.com.cn
Wed Apr 17 10:05:21 BST 2002
On Sunday 14 April 2002 21:05, you wrote:
> That's an amazingly mangled name! My guess is you're getting the
> error because the %Mapped Type code (which will produce
> sipConvertTo... and sipConvertFrom... functions) hasn't been
> compiled in and linked.
I fix the Makefile and the compile progress seems good:
g++ -c a.cpp
/usr/local/bin/sip -s ".cpp" -c sip a.sip
cd sip && make&& python test.py
make[1]: Entering directory `/home/zl/prj/py/py/all/sip'
g++ -o sip_helper sip_helper.cpp
./sip_helper > sipAVersion.h
g++ -c -I.. -I. -I/usr/include/python2.1 -I/usr/local/include/sip
Acmodule.cpp
g++ -c -I.. -I. -I/usr/include/python2.1 -I/usr/local/include/sip
sipAVecString.cpp
g++ -c -I.. -I. -I/usr/include/python2.1 -I/usr/local/include/sip sipAA.cpp
g++ -shared -L/usr/local/lib/ -lsip -o libAcmodule.so *.o ../a.o
make[1]: Leaving directory `/home/zl/prj/py/py/all/sip'
but somehow the %ConvertFromType section seems not executed when I lunch
test.py.
I can not figure out where is the fault.So I pack all the code in attachment
and hope someone can help me out.
Thanks.
--
Sincerely yours,
ejoy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: all.tar.gz
Type: application/x-gzip
Size: 2271 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020417/0d42a582/all.tar.gz
More information about the PyQt
mailing list