Re: [Plplot-devel] Windows+python (was Re: Windows+java)

2006-11-27 Thread Werner Smekal
Hi Alan, thanks for the help. Actually python was the problem. In Visual C++ you can set libraries in the code itself with #pragma directives. Python sets in its header files to link to the python24_d.lib if _DEBUG is defined. If I #undef it just before I include Python.h it compiles and works

Re: [Plplot-devel] Windows+python (was Re: Windows+java)

2006-11-26 Thread Arjen Markus
> > On MSVC/nmake it's the same procedure, but we get soon into trouble: > Linking C shared module _plplotcmodule.dll > LINK : fatal error LNK1104: cannot open file 'python24_d.lib' > NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio > 8\VC\BIN\link.EXE"' : return code '0x450' > St

Re: [Plplot-devel] Windows+python (was Re: Windows+java)

2006-11-25 Thread Alan W. Irwin
On 2006-11-25 22:47+0100 Werner Smekal wrote: > I searched the whole plplot tree where we would set python24_d.lib, but I > couldn't find anything like that. We set PYTHON_LIBRARIES in cmake/modules/python.cmake, and I am virtually positive that is how python24_d.lib is found. If cmake did not

[Plplot-devel] Windows+python (was Re: Windows+java)

2006-11-25 Thread Werner Smekal
Hi, I also managed to make python bindings work on windows, at least for the MinGW compiler. How did I get there: * Download and install Python 2.4.4 ! (not 2.5) from http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi * Download and install the old Numeric package Numeric-24.2.win32-py2