Closed xzzh999 closed 6 years ago
What's the exact ./configure
command you are using and what's the compiler? Yes, you'll have to use WXWIN_COMPATIBILITY_2_8 1
to get it to compile.
Here is the configure call I'm using to compile on windows using gcc 4.8.1:
./configure --disable-shared --enable-unicode \
--enable-compat28 \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no \
--with-zlib=builtin --disable-richtext \
CFLAGS="-Os -fno-keep-inline-dllexport" CXXFLAGS="-Os -fno-keep-inline-dllexport -DNO_CXX11_REGEX"
i can build most of them except the wxLua_app, wxLuaCan, wxLuaFreeze,
Do you need these applications? I don't use them, so can't comment on what exactly needs to be fixed there.
@pkulchenko thank you for u reply.
I use the VC++ 2010 tool chain, i 'll try to fix the link problems later.
Now, I build it ok, because the prebuild package wxMSW-3.1.1_vc100_Dev default set WXWIN_COMPATIBILITY_2_8 to 0, so there were lots's problems. Just compile wxWidgets 3.1.1 youself, everything comes ok.
Hi~
When i use the 3.1.1 branche zip to build, there are lots of errors like:
then i modifed the setup.h:
#define WXWIN_COMPATIBILITY_2_8 1
then i can build most of them except the wxLua_app, wxLuaCan, wxLuaFreeze, there have lots of link errors(i have modified the library path make sure vs can find them):
and i use the cmake gui 3.2.3, wxWidgets-3.1.1 src code and the wxMSW-3.1.1_vc100_Dev prebuild package, i also tried to modify create-release-MSVC2008.bat to ajust vs2010 but still failed.
How can i build this package for wx 3.1.1 version on windows correctly? need u help, thx.