Re: [pygccxml-development] Installing pygccxml
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2007-07-13 15:26:17
|
On 7/13/07, Simon Wimmer <wim...@go...> wrote: > So I downloaded gccxml_windows_install.zip, unzipped and ran setup.py. > I get the following error: > Traceback (most recent call last): > File "C:\gccxml install\setup.py", line 6, in <module> > import config > File "C:\gccxml install\config.py", line 14, in <module> > class cmake: > File "C:\gccxml install\config.py", line 23, in cmake > cc = msvccompiler.MSVCCompiler() > File "C:\Python25\lib\distutils\msvccompiler.py", line 230, in > __init__ > self.__macros = MacroExpander(self.__version) > File "C:\Python25\lib\distutils\msvccompiler.py", line 112, in > __init__ > self.load_macros(version) > File "C:\Python25\lib\distutils\msvccompiler.py", line 137, in > load_macros > you can try compiling with MingW32, by passing "-c mingw32" to > setup.py.""") > DistutilsPlatformError: Python was built with Visual Studio 2003; > extensions must be built with a compiler than can generate > compatible binaries. > Visual Studio 2003 was not found on this system. If you have Cygwin > installed, > you can try compiling with MingW32, by passing "-c mingw32" to setup.py. > What do I have to do? Well just follow instructions on this page: http://www.gccxml.org/HTML/Install.html You don't have to download GCCXML sources or CMake, just extract the tar files and you will them. The script tries to automate the instructions, but fails sometimes. Let me know if you need more help -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |