[C++-sig] Re: Newbie ... trouble compiling Boost.Python

Cain, Ben (Contractor-Summit) Ben.Cain at us.army.mil
Thu Apr 28 00:45:23 CEST 2005


David,

I am trying to build from Windows command-prompt.  However, I think I'm
using MinGW's gcc.

gcc -v yields

Reading specs from C:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads
--disable-nls --enable-languages=c++,f77,objc --disable-win32-registry
--disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

I downloaded Python from ...

http://www.python.org/ftp/python/2.3.5/Python-2.3.5.exe

I downloaded Boost  from ...

http://prdownloads.sourceforge.net/boost/boost_1_32_0.exe?download

Thanks,
  Ben

David Abrahams wrote:
> 
> My guess is that you are trying to
> use a Cygwin GCC from a Windows command-prompt with a Windows (not
> Cygwin) installation of Python?
> 
> You either need to use a MinGW compiler (or gcc-nocygwin) or use a
> Cygwin-based python.



More information about the Cplusplus-sig mailing list