Dear list,
I am trying to compile wxPython 2.8.8.1 for Win32 using the free MS
Visual Studio 2008 tools.
I have successfully compiled Python 2.6b2 with:
vcbuild pcbuild.sln "Release|Win32"
And I have successfully compiled wxWidgets with:
nmake -f makefile.vc SHARED=1 MONOLITHIC=0 USE_OPENGL=1 USE_GDIPLUS=1
UNICODE=1 MSLU=1
However, when I try to compile the python module, I get the following
undescribed error:
..\..\Python-2.6b2\PCbuild\python.exe setup.py build_ext --inplace
MONOLITHIC=0 UNICODE=1 BUILD_GIZMOS=0 BUILD_STC=0
Preparing CORE...
Preparing GLCANVAS...
Preparing ACTIVEX...
running build_ext
building '_core_' extension
error: None
I this a known problem? I could not find any log file.
Regards,
Edwin
Edwin Bennink schrieb:
Dear list,
I am trying to compile wxPython 2.8.8.1 for Win32 using the free MS
Visual Studio 2008 tools.
I have successfully compiled Python 2.6b2 with:
vcbuild pcbuild.sln "Release|Win32"
And I have successfully compiled wxWidgets with:
nmake -f makefile.vc SHARED=1 MONOLITHIC=0 USE_OPENGL=1 USE_GDIPLUS=1
UNICODE=1 MSLU=1
However, when I try to compile the python module, I get the following
undescribed error:
..\..\Python-2.6b2\PCbuild\python.exe setup.py build_ext --inplace
MONOLITHIC=0 UNICODE=1 BUILD_GIZMOS=0 BUILD_STC=0
Preparing CORE...
Preparing GLCANVAS...
Preparing ACTIVEX...
running build_ext
building '_core_' extension
error: None
I this a known problem? I could not find any log file.
The problem is that distutils by default catches exceptions. You may get
a traceback when you set the DISTUTILS_DEBUG environment variable to '1'
before running the build:
set DISTUTILS_DEBUG=1
python setup.py build...
Thomas
Thanks, setting DISTUTILS_DEBUG to 1 gave me some useful information. It
appears that distutils\msvc9compiler.py can not find the file
vcvarsall.bat
when calling
query_vcvarsall(VERSION, plat_spec)
That makes sense, because there is no vcvarsall.bat on my system; it
should use vcvars32.bat instead. I'll try to debug it tomorrow.
Edwin
ยทยทยท
On Mon, 2008-09-01 at 23:05 +0200, Thomas Heller wrote:
Edwin Bennink schrieb:
> Dear list,
>
>
> I am trying to compile wxPython 2.8.8.1 for Win32 using the free MS
> Visual Studio 2008 tools.
>
> I have successfully compiled Python 2.6b2 with:
> vcbuild pcbuild.sln "Release|Win32"
>
> And I have successfully compiled wxWidgets with:
> nmake -f makefile.vc SHARED=1 MONOLITHIC=0 USE_OPENGL=1 USE_GDIPLUS=1
> UNICODE=1 MSLU=1
>
> However, when I try to compile the python module, I get the following
> undescribed error:
> ..\..\Python-2.6b2\PCbuild\python.exe setup.py build_ext --inplace
> MONOLITHIC=0 UNICODE=1 BUILD_GIZMOS=0 BUILD_STC=0
> Preparing CORE...
> Preparing GLCANVAS...
> Preparing ACTIVEX...
> running build_ext
> building '_core_' extension
> error: None
>
> I this a known problem? I could not find any log file.
The problem is that distutils by default catches exceptions. You may get
a traceback when you set the DISTUTILS_DEBUG environment variable to '1'
before running the build:
set DISTUTILS_DEBUG=1
python setup.py build...
Thomas
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users