[PyQt] Simple C++ example doesn't work
Rafael Durán Castañeda
rafadurancastaneda at gmail.com
Sat Jul 23 09:54:34 BST 2011
Ok, thanks I missed that part...
On 23/07/11 10:40, Phil Thompson wrote:
> On Sat, 23 Jul 2011 01:20:57 +0200, Rafael Durán Castañeda
> <rafadurancastaneda at gmail.com> wrote:
>> Hi,
>>
>> I was looking at SIP documentation and trying simple c++ example when I
>> got:
>>
>> g++ -c -O2 -g -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o
>> sipwordcmodule.o sipwordcmodule.cpp
>> g++ -c -O2 -g -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o
>> sipwordWord.o sipwordWord.cpp
>> g++ -shared -Wl,--version-script=word.exp -o word.so sipwordcmodule.o
>> sipwordWord.o -lword
>> /usr/bin/ld: cannot find -lword
>> collect2: ld returned 1 exit status
>> make: *** [word.so] Error 1
>>
>> Sip version is 4.12.1, running under Kubuntu11.04, any hint why it isn't
>> working?
> As it says in the docs the word library is fictional.
>
> Phil
More information about the PyQt
mailing list