From: Patrick H. <pa...@13...> - 2005-04-09 14:24:56
|
c.m. wrote: > Hi, > > i'm trying to build the Python bindings for GMTL 0.4.5 on Windows. > > I have Visual Studio .NET 2003, Boost 1.32, ActiveState's Python 2.4 and > Cygwin (in case that's needed) installed. Here's what happens, when I > start the build process (after running vsvars32.bat): > > ------------------------------------------------------------ > D:\gmtl>scons install prefix=\gmtlbuilt EnablePython=True > BoostVersion=1.32 BoostPythonDir=D:\Progra~1\Boost The 'install' target for the GMTL build does not include the Python bindings. Run the following instead: scons EnablePython=True BoostVersion=1.32 BoostPythonDir=D:\Progra~1\Boost optimize=yes Note that I added "optimize=yes" to the end. Without that, the build has to be linked against a debug-enabled version of Python, and most people don't have that installed on Windows. After the build completes, you can copy gmtl.pyd to the location where you want to have it installed. -Patrick > ------------------------------------------------------------ > > As you can see, only the "gmtl-test.py" is copied; no Python module is > built. No error messages. Any ideas what's going on here?! > > I'm trying to hunt that problem down in the SConstruct files, but my > Python skills are lacking. :) > > Thanks, > Christian -- Patrick L. Hartling | VP Engineering, Infiscape Corp. PGP: http://tinyurl.com/2oum9 | http://www.infiscape.com/ |