Hi John,

I tried to compile the latest wxlua and ran into compilation errors
(both on OSX and Windows). I also tried with rev 163 (before Lua 5.2
changes) and compiled it successfully (also on both platforms). The
error messages I got are at the bottom of the email.

Tangentially related; would it be possible to expose
wxstc.wxStyledTextCtrl.GetLibraryVersionInfo in the API? I'd like to
show Scintilla version number in the About screen.

While we are on the topic of building wxlua, is it possible to provide
a parameter for configure to disable building of all
executables/applications and also disable building of debug/socket
libraries (which I don't need)? I regularly rebuild from source and
this would noticeably speed up the process (I only need
wx.dll/dylib/so). Thank you.

Paul.

--Windows (MinGW)--

Linking CXX shared library ../../bin/MinSizeRel/libwx.dll
Creating library file:
../../lib/MinSizeRel/libwx.dll.aCMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x297):
undefined reference to `wxLuaBinding_wxbase_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x29c):
undefined reference to `wxLuaBinding_wxcore_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x2a1):
undefined reference to `wxLuaBinding_wxadv_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x2a6):
undefined reference to `wxLuaBinding_wxnet_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x2ab):
undefined reference to `wxLuaBinding_wxhtml_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x2b0):
undefined reference to `wxLuaBinding_wxaui_init()'
CMakeFiles/wxLuaModule.dir/objects.a(luamodule.cpp.obj):luamodule.cpp:(.text+0x2b5):
undefined reference to `wxLuaBinding_wxstc_init()'
CMakeFiles/wxLuaModule.dir/objects.a(wxluadebugger_bind.cpp.obj):wxluadebugger_bind.cpp:(.text+0x40c):
undefined reference to `wxluatype_wxWindow'
CMakeFiles/wxLuaModule.dir/objects.a(wxluadebugger_bind.cpp.obj):wxluadebugger_bind.cpp:(.data+0x5e4):
undefined reference to `wxluatype_wxWindow
'
collect2: ld returned 1 exit status
make[2]: *** [bin/MinSizeRel/libwx.dll] Error 1
make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
make: *** [all] Error 2
Error: failed to build wxLua

--OSX--

Linking CXX shared library ../../lib/MinSizeRel/libwx.dylib
Undefined symbols for architecture i386:
  "wxLuaBinding_wxbase_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxcore_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxadv_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxnet_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxhtml_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxaui_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "wxLuaBinding_wxstc_init()", referenced from:
      _luaopen_wx in luamodule.cpp.o
  "_wxluatype_wxWindow", referenced from:
      s_wxluatypeArray_wxLua_wxLuaDebuggerServer_DisplayStackDialog
   in wxluadebugger_bind.cpp.o
      wxLua_wxLuaDebuggerServer_DisplayStackDialog(lua_State*)      in
wxluadebugger_bind.cpp.o
     (maybe you meant: _p_wxluatype_wxWindow)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [lib/MinSizeRel/libwx.dylib] Error 1
make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Error: failed to build wxLua

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to