From: Paul K <pau...@ya...> - 2012-07-04 23:47:25
|
Hi John, I'm getting a compilation error on the latest wxlua revision (102) from svn: /Users/paul/svn/wxlua/trunk/wxLua/bk-deps g++ -c -o wxbindcore_dll_wxcore_bind.o -I./.pch/wxprec_wxbindcore_dll -I../modules/wxbind/setup -I../modules -I./.. -I/usr/include/lua5.1 -DWXMAKINGDLL_WXBINDCORE -dynamic -fPIC -DPIC -I/Users/paul/Downloads/wxMac-2.8.12/lib/wx/include/mac-unicode-release-2.8 -I/Users/paul/Downloads/wxMac-2.8.12/include -I/Users/paul/Downloads/wxMac-2.8.12/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -arch i386 -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXMEDIA=0 -DwxLUA_USEBINDING_WXSTC=0 -O2 -fno-common ./wxbind/src/wxcore_bind.cpp ./wxbind/src/wxcore_bind.cpp: In function ‘int wxLua_function_wxGetAccelFromString(lua_State*)’: ./wxbind/src/wxcore_bind.cpp:3456: warning: ‘wxGetAccelFromString’ is deprecated (declared at /Users/paul/Downloads/wxMac-2.8.12/include/wx/utils.h:577) ./wxbind/src/wxcore_bind.cpp:3456: warning: ‘wxGetAccelFromString’ is deprecated (declared at /Users/paul/Downloads/wxMac-2.8.12/include/wx/utils.h:577) ./wxbind/src/wxcore_bind.cpp: In function ‘wxLuaBindClass* wxLuaGetClassList_wxcore(size_t&)’: ./wxbind/src/wxcore_bind.cpp:7130: error: ‘wxPopupTransientWindow’ has not been declared ./wxbind/src/wxcore_bind.cpp:7134: error: ‘wxPopupWindow’ has not been declared make[1]: *** [wxbindcore_dll_wxcore_bind.o] Error 1 make: *** [modules] Error 2 It can't find definitions for wxPopupWindow and wxPopupTransientWindow; commenting out defines in wxLua/modules/wxbind/setup/wxluasetup.h (wxPopupWindow and wxPopupTransientWindow) allows the compilation to complete without problems. This is on MacOS. Paul. |