I'm new to Pyside and I was trying to follow this tutorial to generate a 
binding but always have problem finish the last step 
http://qt-project.org/wiki/PySide_Binding_Generation_Tutorial%3A_Module_5_Building_the_generator

There are always errors like below. Anyone can help me on this? I'm working on 
WindowsXP with Qt4.8.1, Python27 and PySide1.1.2(installed through a binary 
installer). Thank you in advance!

g++ -Wl,-s -mthreads -shared -Wl,--out-implib,release\libfoo.a -o 
release\foo.dll release/foo_module_wrapper.o release/
ath_wrapper.o  -L"d:\Qt\4.8.1\lib" -LD:/Python27/libs 
-LD:/Python27/Lib/site-packages/PySide D:/Python27/libs/python27.
ib D:/Python27/Lib/site-packages/PySide/pyside-python2.7.lib 
D:/Python27/lib/site-packages/PySide/shiboken-python2.7.li
 -LD:/binding-tutorial/libfoo -lfoo -lQtGui4 -lQtCore4
Info: resolving vtable for Math by linking to __imp___ZTV4Math (auto-import)
Creating library file: release\libfoo.a
d:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: 
warning: auto-importing has been activated
ithout --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing 
symbols from auto-imported DLLs.
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x63): undefined 
reference to `Shiboken::Conversions::conver
ibleDictTypes(SbkConverter*, bool, SbkConverter*, bool, _object*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x90): undefined 
reference to `Shiboken::Conversions::conver
ibleSequenceTypes(SbkConverter*, _object*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0xbd): undefined 
reference to `Shiboken::Conversions::conver
ibleSequenceTypes(SbkConverter*, _object*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x149): undefined 
reference to `Shiboken::Conversions::copyT
Python(SbkConverter*, void const*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x2e8): undefined 
reference to `Shiboken::Conversions::copyT
Python(SbkConverter*, void const*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x3b9): undefined 
reference to `Shiboken::Conversions::pytho
ToCppCopy(SbkConverter*, _object*, void*)'
release/foo_module_wrapper.o:foo_module_wrapper.cpp:(.text+0x44d): undefined 
reference to `Shiboken::Module::import(cha
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to