COMPILATION ERRORS at rev. 150
I have
*wxWidgets 2.9.4
Linux
gcc 4.5.2*
Now (at rev. 150) I have compilation errors:
*1)* /tmp/wxLua-r150/modules/wxstedit/src/stefindr.cpp:122:56: error:
passing ‘const wxSTEditorFindReplaceData’ as ‘this’ argument of ‘const
wxString& wxFindReplaceData::GetFindString()’ discards qualifiers
*
2)* /tmp/wxLua-r150/apps/wxluaedit/wxluaedit.cpp:251:53: error:
‘STE_TOOLBAR_EDIT_FIND_CTRL’ was not declared in this scope
If Line 130 in the file
/tmp/wxLua-r150/modules/wxstedit/include/wx/stedit/stefindr.h changed to
*#if wxCHECK_VERSION(2,9,0)*
it fixes first error.)
Don't know about the second.
Regards, KOS.
2012/10/18 John Labenski <jlaben...@gmail.com>
> On Wed, Oct 17, 2012 at 3:47 AM, Konstantin <lalakos...@gmail.com> wrote:
> > Of course it must be linked with LuaLib even if you use system lua.
> > But then LuaLib must be defined in wxlua-config.cmake
> > It is not defined here... and you will have an error like "can't find
> > -lLuaLib" on Linux.
> >
> > Maybe i can define it by myself before calling find_package(wxLua
> REQUIRED
> > wxLuaLib wxLuaBindLib) in my CMakeLists
> > What do you think about?
>
> I think that for consistency the wxLuaConfig.cmake export file should
> include that information. There's nothing worse than linking to
> mismatched libs and having your app randomly crash.
>
> CMake does not allow exporting an imported lib, so I have written out
> the export by hand. Fixed in SVN, let me know if it doesn't work.
>
> 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
>
------------------------------------------------------------------------------
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