On Tue, Oct 16, 2012 at 7:51 AM, Konstantin <lalakos...@gmail.com> wrote:
>
> Can't compile my app on Linux with wxLua at rev 148 with system lua, so I've
> comment out one line and add four...
> See patch below (in the attachment too)
>
...
> diff -rup wxLua-r148.orig/modules/CMakeLists.txt
> wxLua-r148/modules/CMakeLists.txt
> --- wxLua-r148.orig/modules/CMakeLists.txt    2012-10-05 08:25:42.000000000
> +0400
> +++ wxLua-r148/modules/CMakeLists.txt    2012-10-16 14:31:38.000000000 +0400
> @@ -250,7 +250,7 @@ ADD_LIBRARY_FULL( wxLuaLib
>          ${wxLua_ROOT_DIR}/modules/wxlua/wxlstate.cpp
>          ${wxLua_ROOT_DIR}/modules/wxlua/wxlua_bind.cpp
>      LINK_LIBRARIES
> -        LuaLib
> +#        LuaLib
>          ${wxWidgets_LIBRARIES}
>      PROPERTIES DEFINE_SYMBOL "WXMAKINGDLL_WXLUA"
>      PROPERTIES FOLDER "wxLua/Modules"

What is the error and how are you building your app and wxLua, static/shared?

In general, wxLuaLib needs to link to Lua since it depends on it and I
would suspect that simply removing it would break most other build
types.

Regards,
    John

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to