|
From: Ming J. <ji...@gm...> - 2007-08-21 19:42:02
|
Sorry for opening a new thread of the same problem, I just subscribe this
email list.
I have set the path to boost-python in system path.
That is set the C:\Program Files\boost\boost_1_34_0\lib to %PATH%,
and when using scons to build the pygmtl, the scons can find the correct
boost_python-vc80-mt-gd-1_34.dll under this path.
One thing that maybe helpful is that, when I use scons to build pygmtl, I
get the following warning for all the files.
C:\Program Files\boost\boost_1_34_0\boost/utility/enable_if.hpp : warning
C4819:
The file contains a character that cannot be represented in the current
code pa
ge (936). Save the file in Unicode format to prevent data loss
Is that related to my problem when issue "import gmtl" in python:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import gmtl
ImportError: DLL load failed: A dynamic link library (DLL) initialization
routine failed.
Another thing is that, right before the ImportError happens, there is a
window pop up, and saying:
Runtime Error!
Program: C:\Program Files\Python25\pythonw.exe
R6034
An application has made an attempt to load the C runtime library
incorrectly.
Thanks a lot for your help.
|