Problem embedding Python...
Dave Mandelin
mandelin at cs.berkeley.edu
Mon Apr 10 16:44:01 EDT 2006
> C:\DOCUME~1\ANDY~1.MCC\LOCALS~1\Temp/cckhbaaa.o(.text+0x2b):main.cpp:
> undefined reference to `_imp__Py_Initialize'
These errors indicate that the linker can't find the Python library
(python24.lib).
> -L"C:\Python24\Lib"
I think you want to say -L"C:\Python24\Libs" instead. 'libs' contains
the binary lib files, while 'lib' contains the .py library files.
--
Want to play tabletop RPGs online?
Check out RPZen: http://koboldsoft.com
More information about the Python-list
mailing list