Hi John,

> 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

Just to elaborate on this a bit; I was just compiling wxlua on Linux
and ran into an issue with wxStEdit. It requires xrc, which I don't
include in my version of wx.so, but I don't see any option to skip
building wxStEdit, which breaks the build process (because of missing
dependencies). I ended up removing it from Cmake configuration
manually (through the gui). Is there an option I'm missing to disable
this and other components that are not required for generating wx
library? Thank you.

Paul.

On Wed, Mar 6, 2013 at 8:56 PM, Paul K <paulclin...@yahoo.com> wrote:
> 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