On Thu, May 3, 2012 at 1:43 PM, Andre Arpin <ar...@kingston.net> wrote:
> run cmake
>
> point source and destination to
> E:\wxWidgets\wxLua

In CMake you can (and want to) choose a different directory for the
build output. You can then easily delete the whole build or any part
of it and rerun cmake to regenerate it.

> generate sln's
>
> compile
> E:\wxWidgets\wxLua\apps\wxLuaApps.sln in debug mode (default)

You should probably open the root dir wxLua.sln file. The other ones
may work... but that might not be guaranteed.

> wxlua and wxfreeze bot fail to link.
>
> first few errors follow
>
> 2>wxmsw29ud_stc.lib(stc.obj) : error LNK2019: unresolved external symbol
> _Scintilla_LinkLexers referenced in function "public: bool __thiscall
> wxStyledTextCtrl::Create(class wxWindow *,int,class wxPoint const &,class 
> wxSize
> const &,long,class wxString const &)" (?
> Create@wxStyledTextCtrl@@QAE_NPAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@
> @@Z)

It looks like you're not linking to the scintilla lib somehow. I
explicitly add it if stc is in the wxWidgets_COMPONENTS which it
should be.

Please do a svn update and rerun cmake.

Did you modify the wxWidgets_COMPONENTS variable? Is scintilla and stc
in there? Try clearing the cache and rerunning or better yet, wipe the
whole build dir and start over.

Finally, just to be sure, right click on the wxlua app project in the
Visual Studio solution and select properties. Look for "Linking" and
view the command line. It will show you to libs that the app links to,
you'll see the rest of the wxWidgets libs as well as the wxLua libs.
Is scintilla and stc in there?

Regards,
    John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to