Problem with Swig/C++/Python and python21.lib

Sébastien seb.goldstein at caramail.com
Tue Oct 2 04:32:19 EDT 2001


Hey,

I'm currently using Swig to integrate python and C++.
I work with Win2000, MSVC++ 5.0 and Python 2.1

>From my test.h, test.cpp and test.i, Swig
generates a test_wrap.cpp.
I include in the project settings all the necessary directories.
I try to build a release version and I have this error message :


--------------------Configuration: test - Win32
Release--------------------
Compiling...
test.cpp
test_wrap.cpp
Linking...
c:\Python21\libs\python21.lib : fatal error LNK1106: invalid file or
disk full: cannot seek to 0x3bb5cb9b
Error executing link.exe.

test.dll - 1 error(s), 0 warning(s)


Has someone already encountered this error message or could someone
help me ?

Thanks a lot for your help.

Sébastien.



More information about the Python-list mailing list