[C++-sig] compilation problems with mingw v2.0
gideon may
gideon at computer.org
Thu Sep 12 12:47:17 CEST 2002
Hi,
Has anyone succeeded in compiling bpl v1 or v2 with the
current mingw compiler (v2.0) under windows ? This
version is based on gcc 3.2. The rest of the boost libraries
compile cleanly.
When I try to compile bpl v2 I get the following message :
...found 585 targets...
...updating 24 targets...
mingw-C++-action
..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj
In file included from src/list.cpp:6:
C:/cvs_rep/boost/boost/python/list.hpp:17: declaration does not declare
anything
C:/cvs_rep/boost/boost/python/list.hpp:17: parse error before `)' token
src/list.cpp:19: parse error before `)' token
src/list.cpp:23: parse error before `)' token
c:\SDKs\MinGW\bin\g++ -c -Wall -ftemplate-depth-100
-DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_V2 -DBOOST_PYTHON_SOURCE -g
-O0 -fno-inline -I"..\..\libs\python" -isystem "C:\cvs_rep\boost"
-isystem "c:\Python22\include" -isystem "c:\SDKs\MinGW\inc
lude" -o
"..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj"
"src\list.cpp"
...failed mingw-C++-action
..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj...
My environment :
Win2K
Python 2.2.1 (ActiveState)
Latest CVS update of Boost
COMSPEC=C:\WINNT\system32\cmd.exe
MINGW_ROOT_DIRECTORY=c:\SDKs\MinGW
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
PYTHON_ROOT=c:\Python22
PYTHON_VERSION=2.2
SYSTEMROOT=C:\WINNT
TMP=/cygdrive/c/DOCUME~1/gideon/LOCALS~1/Temp
WINDIR=C:\WINNT
bjam command : bjam -sTOOLS=mingw
ciao,
gideon
More information about the Cplusplus-sig
mailing list