On Tue, Jun 26, 2012 at 11:21 AM, Anders Andersson <[email protected]> wrote:
> Hello!
>
> I have built wxLua with 2.9.3 and WXWIN_COMPATIBILITY_2_8 set to 0 (will
> never use 2.8 again) by removing obsolete code from the interfaces (.i)
> files, and have couple of questions/problems,
>
> 1. My wx build is monolithic with shared set to 1 and when I build wxLua
> nmake_wxLua.bat and couple of changes to makefile.vc I get 5-10 dll, one for
> each wxLib. But I want a single .lib of the entire wxLua so I can just link
> it in my application.
> How would you set this up? (I can't use any other wxbuild, since other
> applications depend on the single wx.dll).

Try using the CMake build, the old build files were too hard to work
with to create configurations like this.
I currently create (in CMake) wx.dll using either static or shared
wxWidgets libs so this will probably be exactly what you want.
Search for wxLua_Modules_LuaModule_TARGETS in
wxLua/modules/CMakeLists.txt and duplicate that function to create
your lib.

> 2. As you already know since wx 2.9 wxSTC is part of the main library, so
> when I build with USE_WXBINDSTC set to 1 then the compilar complains about
> wxmsw29_stc.dll but there is no such dll in 2.9 everything is placed in a
> single .dll (except for gl).

Use CMake... the old build files are hard coded for wx28.

> 3. The compilar also complains about wxGLCanvas and wxGLContext that they
> are unresolved which means that there is another problem in the build files
> (GL is built since I'm using it).

see above

> Hope someone can help me with these, btw Why does wxLua not have a forum I
> think it's more usable then a mailing list.

I prefer a mailing list.

> P.S. If you need the interface files so you can easily see what the
> differences are between wx 2.8 and 2.9, just inform me.

No thanks, I need to maintain compatibility for now.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to