I running:
Activestate Python 2.0, MS VC++ 6.0 SP4, Windows 2000/SP1, .net beta 1.
As I said I did the commands in build.win32.txt. It seems from looking at
setup.py that wxc.pyd is never built for nt, see line 233.
There was an indentation bug that I thought I had fixed before making the
source distribution file, but apparently not. That section of code should
look like this:
if os.name == 'nt':
rc_file = ['src/wxc.rc']
else:
rc_file =
ext = Extension('wxc', ['src/helpers.cpp',
'src/libpy.c',
] + rc_file + swig_sources,
include_dirs = includes,
define_macros = defines,
library_dirs = libdirs,
libraries = libs,
extra_compile_args = cflags,
extra_link_args = lflags,
)
wxpExtensions.append(ext)
Specifically
here is the command that I expected to build me a wxc.pyd.
python setup.py HYBRID=1 install
With BUILD_GLCANVAS=1 I get this output:
Command line warning D4025 : overriding '/GX' with '/GX-'
Command line warning D4025 : overriding '/Ox' with '/Od'
glcanvas.cpp
G:\wxPython-2.2.5\contrib\glcanvas\msw\glcanvas.cpp(114) : error C2065:
'wxGLContext' : undeclared identifier
...
If you want OpenGL you will need to edit wxWindows' setup.h file in
include/wx/msw/setup.h and change the right #define to 1, and then clean and
rebuild wxWindows.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users