[ 22%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_mdi.cpp.o
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp: In function 'int wxLua_wxDocManager_MakeDefaultName(lua_State)':
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp:1549:26: error: 'class wxDocManager' has no member named 'MakeDefaultName'
bool returns = self->MakeDefaultName(buf);
^
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp: In function 'int wxLua_wxDocManager_constructor(lua_State)':
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp:1749:69: error: 'wxDEFAULT_DOCMAN_FLAGS' was not declared in this scope
long flags = (argCount >= 1 ? (long)wxlua_getnumbertype(L, 1) : wxDEFAULT_DOCMAN_FLAGS);
^
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp: In function 'int wxLua_wxDocument_GetPrintableName(lua_State*)':
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_mdi.cpp:2536:11: error: 'class wxDocument' has no member named 'GetPrintableName'
self->GetPrintableName(name);
May this be relevant?
-- * WARNING : Unable to find '/include/wx/version.h'
-- * Please set wxWidgets_CONFIG_EXECUTABLE to point to wx-config
script.
-- * Note: wxWidgets libs; Removing 'propgrid' lib from
wxWidgets_COMPONENTS since it didn't exit in wx < 2.9
-- * Note: wxWidgets libs; Removing 'webview' lib from wxWidgets_COMPONENTS
since it didn't exit in wx < 2.9
-- * Using these wxWidgets components:
gl;xrc;xml;net;media;richtext;aui;stc;html;adv;core;base
-- Found wxWidgets: TRUE
-- *
-- * Found wxWidgets :
CMake Warning at build/CMakewxAppLib.cmake:545 (message):
WARNING: Unable to find wxWidgets_PORTNAME/UNIVNAME/UNICODEFLAG/DEBUGFLAG
from lib names! You may have to add code to CMake to help it parse your
wxWidgets lib names.
Call Stack (most recent call first):
build/CMakewxAppLib.cmake:316 (PARSE_WXWIDGETS_LIB_NAMES)
CMakeLists.txt:54 (FIND_WXWIDGETS)
I managed to have a small progress:defining WXWIN_COMPATIBILITY_2_8=1
allows wxcore_mdi.cpp to be built.
But then:
[ 28%] Building CXX object
modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_bind.cpp.o
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_bind.cpp:
In function 'wxLuaBindNumber wxLuaGetDefineList_wxcore(size_t&)':
/var/tmp/RPM/BUILD/wxLua-2.8.12.3-src/modules/wxbind/src/wxcore_bind.cpp:530:31:
error: 'wxADJUST_MINSIZE' was not declared in this scope
{ "wxADJUST_MINSIZE", wxADJUST_MINSIZE },
^
make[2]: **
[modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_bind.cpp.o] Error 1
Any ideas? someone?
https://sourceforge.net/p/wxlua/bugs/34/
Please use the mailing list for build problems like this.
https://sourceforge.net/p/wxlua/mailman/
I recommend trying the SVN head version. If you still have problems please post the errors you get on the mailing list.