Opened 11 years ago
Closed 5 years ago
#11655 closed build error (outdated)
What is the correct command to Build wxPython (2.8.10) on Windows
Reported by: | anurag | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wxPython | Version: | 2.8.10 |
Keywords: | Cc: | garunaj@… | |
Blocked By: | Blocking: | ||
Patch: | no |
Description
Hi,
I'm trying to build wxPython on windows (vc++ 6.0, window XP), as per the build instructions given on the website
for wxWidget---->
nmake -f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=0 USE_OPENGL=1 USE_GDIPLUS=1 DEBUG_FLAG=1 CXXFLAGS=/DNO_VC_CRTDBG WXDEBUGFLAG=h BUILD=release UNICODE=1 MSLU=1
and for wxPython-->
python setup.py build_ext --inplace MONOLITHIC=0 UNICODE=1
In this case wxPython is not building with following errors
unresolved external symbol "declspec(dllimport) void cdecl wxOnAssert
unresolved external symbol "declspec(dllimport) public: thiscall wxString::wxString
unresolved external symbol "declspec(dllimport) public: class wxStringBase & thiscall wxStringBase::operator
unresolved external symbol "declspec(dllimport) public: class wxString & thiscall wxString::Append
unresolved external symbol "declspec(dllimport) wchar_t const * const wxPanelNameStr
Please suggest what is the write syntax to build wxPython, it seems everyone has encountered these problem and everyone got the solution, but somehow I'm not able to find the right configuration option
Please help me.
Regards,
Anurag
Change History (3)
comment:1 Changed 11 years ago by robind
- Status changed from new to infoneeded_new
comment:2 Changed 5 years ago by oneeyeman
- Status changed from infoneeded_new to new
This ticket should be closed as MSVC6 is not supported anymore.
comment:3 Changed 5 years ago by vadz
- Resolution set to outdated
- Status changed from new to closed
Are you really using vc++ 6.0? If so then you can not build with any Python later than 2.3. wxPython must be built with the same compiler than was used to build Python. Up to Python 2.3 used MSVC 6. Python 2.4 and 2.5 used MSVC 7.1, (visual studio 2003) and Python 2.6 and beyond use MSVC 9, (visual studio 2008.)