Re: [wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2007-01-05 Thread Joseph E. ODoherty
That did the trick! I've attached proof of concept code for embedding a wxGLCanvas within a wxFrame. It uses luaglut for the GL calls. I have not quite yet figured out how to properly handle idle events, as the GL draw loop hogs UI control. Suggestions welcome. ;) Thanks, /joeyo On Wed, Jan 03,

Re: [wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2007-01-03 Thread Francesco Montorsi
John Labenski ha scritto: > It looks like we need to add the gl lib to the configure checks eventually. done but without testing for now. BTW this is yet another check which should go in the wxpresets M4 macros ;) Francesco --

Re: [wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2007-01-03 Thread John Labenski
It looks like we need to add the gl lib to the configure checks eventually. For now you use the environment variable before running configure. $export LDFLAGS=-lwx_gtk2_gl-2.8 Regards, John Labenski On 1/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi John, et al. > > I've tried ag

Re: [wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2007-01-02 Thread wxlua
Hi John, et al. I've tried again with wxLua_Snapshot_2007-01-01 and pasted the errors below. Thanks, /joeyo k2_adv-2.8 -lwx_base_net-2.8 -lwx_base_xml-2.8 -lwx_gtk2_core-2.8 -lwx_base-2.8 ../lib/libwxlua_gtk2_wxbind-2.8.so: undefined reference to `wxGLCanvas::SwapBuffers()' ../lib/libwxlua_gtk2

Re: [wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2006-12-22 Thread John Labenski
I've applied a fix (well, updated it for 2.8) so it compiles now, but I haven't checked if the wxgl lib is linked to or not. Please let us know if it works as expected. Regards, John Labenski On 12/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I get the following errors when

[wxlua-users] compiling with wxLUA_USE_wxGLCanvas

2006-12-22 Thread wxlua
Hi, I get the following errors when compiling wxLua_Snapshot_2006-12-22 with wxLUA_USE_wxGLCanvas enabled. I have enabled openGL and GLCanvas in wxGTK and that part seems to be working. Thanks, /joeyo ./wxbind/src/gdi.cpp: In function ‘int wxLua_wxRect_Inside(lua_State*)’: ./wxbind/src/gdi.cpp: