[wxPython-users] 64-bit Setup.py link errors on Windows XP 64

Robin Dunn robin at alldunn.com
Thu Jan 3 09:59:11 PST 2008


Dave Burdick wrote:
> Well I've managed to get all the wxWindows DLL's compiled along with 
> helpers.cpp and _core_wrap.cpp.  However, when I run the final compile and 
> link to create the .PYD files:
> 
> cd %WXDIR%\wxPython
> C:\Python25\python.exe setup.py build_ext --inplace MONOLITHIC=0
> 
> I get a bunch of unresolved external symbol errors.  The wx DLL's are all on 
> the path:
> 
> Preparing CORE...
> Preparing GLCANVAS...
> Preparing STC...
> Preparing ACTIVEX...
> Preparing GIZMOS...
> running build_ext
> building '_core_' extension
> adding X64 link args
> C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin\x64
> \link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\wxPythonSrc\wxPython-src-
> 2.8.7.1\lib\vc_dll /LIBPATH:C:\Python25\libs /LIBPATH:C:\Python25\PCBuild 
> wxbase28h.lib wxbase28h_net.lib wxbase28h_xml.lib wxmsw28h_core.lib 
> wxmsw28h_adv.lib wxmsw28h_html.lib 

Are you intentionally using the ansi build instead of the unicode build? 
  If not then the library names are wrong, and that may be part of the 
problem, or at least a clue.


> 
> Any ideas as to what's happening here? 
> 

Not really.  All of the symbols you quoted should be in the wx libs you 
are linking with.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!




More information about the wxpython-users mailing list