From: Victor B. <so...@te...> - 2012-09-21 12:02:11
|
> To keep it simple I would like to make a compilation as the one provided > in > wxLua sourceforge wxLua-2.8.12.2-MSW-Unicode > > I did it with wxWidgets 2.9.4 but libwx.dll is about 14000 kb instead of > 5000Kb. I get some asserts running my scripts > Did you use the same wxWidgets or another version? > > Best Regards > Victor Bombi I have found in the module info that it is 2.8.12 so I have tryed to compile with this. First difference: I had to run Cmake twice to get the libraries detected althought it was set with: "C:\Program Files\CMake 2.8\bin\cmake" -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DwxWidgets_ROOT_DIR=C:/wxWidgets-2.8.12 -DwxWidgets_LIB_DIR=C:/wxWidgets-2.8.12/lib/gcc_libmin -DwxWidgets_CONFIGURATION=mswu -D wxWidgets_VERSION=2.8.x -DBUILD_VERBOSELY=TRUE -DBUILD_SHARED_LIBS=FALSE -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE -DwxLua_LUA_LIBRARY=C:/LUA/luabuildmingw/lua51.dll -DwxLua_LUA_INCLUDE_DIR=C:/LUA/lua-5.1.5/include ../wxlua Second difference: The include path is not properly set. I get: [ 1%] Building CXX object modules/wxlua/CMakeFiles/wxLuaLib.dir/dummy.cpp.obj cd /d C:\LUA\wxlua-sources\buid_min_static_unicode2.8\modules\wxlua && C:\MinGW\bin\g++.exe -DwxLUA_USEBINDING_WXGL=0 -DwxL UA_USEBINDING_WXSTC=1 -DwxLUA_USEBINDING_WXXRC=1 -DwxLUA_USEBINDING_WXRICHTEXT=1 -DwxLUA_USEBINDING_WXHTML=1 -DwxLUA_USEBINDI NG_WXMEDIA=1 -DwxLUA_USEBINDING_WXAUI=1 -DwxLUA_USEBINDING_WXADV=1 -DwxLUA_USEBINDING_WXCORE=1 -DwxLUA_USEBINDING_WXXML=1 -Dw xLUA_USEBINDING_WXNET=1 -DwxLUA_USEBINDING_WXBASE=1 -Os -DNDEBUG @CMakeFiles/wxLuaLib.dir/includes_CXX.rsp -o CMakeFiles\wx LuaLib.dir\dummy.cpp.obj -c C:\LUA\wxlua-sources\wxLua\modules\wxlua\dummy.cpp C:\LUA\wxlua-sources\wxLua\modules\wxlua\dummy.cpp:20:23: error fatal: wx/wxprec.h: No such file or directory Best Regards Victor Bombi |