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

Attachment: all.tar.gz
Description: GNU Zip compressed data

Reply via email to