Fwd: Re: [PyKDE] Re: How can I use SIP to wrap STL class?

ejoy ejoy at peoplemail.com.cn
Wed Apr 17 09:02:48 BST 2002


----------  Forwarded Message  ----------

Subject: Re: [PyKDE] Re: How can I use SIP to wrap STL class?
Date: Sun, 14 Apr 2002 20:38:48 -0400 (EDT)
From: Donovan Rebbechi <elflord at panix.com>
To: ejoy <ejoy at peoplemail.com.cn>
Cc: PyKDE Mailing List <pykde at mats.gmd.de>

On Sat, 13 Apr 2002, ejoy wrote:
> The compile progress is ok with the following output:
>
> /usr/local/bin/sip -s ".cpp" -c sip a.sip
> cd sip && make
> make[1]: Entering directory `/home/zl/prj/py/py/sip'
> 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 
> sipAA.cpp g++ -shared -L/usr/local/lib/ -lsip -o libAcmodule.so *.o
> make[1]: Leaving directory `/home/zl/prj/py/py/sip'

This compile looks incomplete. Sip should generate a source code file for
your module, *and* a source code file for each class you define. But
you're only compiling the module source code file. It's not linking
because you're not compiling everything.

PS please forward to the list, it rejects my messages.

--
Donovan

-------------------------------------------------------

-- 
					Sincerely yours,
						ejoy





More information about the PyQt mailing list