----------  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 <[EMAIL PROTECTED]>
To: ejoy <[EMAIL PROTECTED]>
Cc: PyKDE Mailing List <[EMAIL PROTECTED]>

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


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to