Please do an update and try again. I have adjusted the way the gl lib is handled recently.
If that doesn't fix it, does the output of CMake say anything about gl being missing? There is a whole section about what is found, could you post that. Regards, John On Thu, Mar 15, 2012 at 4:04 AM, Konstantin <lalakos...@gmail.com> wrote: > Hello! > > Build in static: > > /Users/KOS/tmp/wxlua/trunk/wxLua-build/bk-deps g++ -c -o > wxbindgl_lib_wxgl_bind.o -I./.pch/wxprec_wxbindgl_lib > -I../modules/wxbind/setup -I../modules -I./.. > -I/Users/KOS/tmp/wxlua/trunk/wxLua-build/./modules/lua/include > -I/Users/KOS/BUILD/lib/wx/include/osx_cocoa-unicode-static-2.9 > -I/Users/KOS/BUILD/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXMAC__ > -D__WXOSX__ -D__WXOSX_COCOA__ -O2 -fno-common ./wxbind/src/wxgl_bind.cpp > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_GetContext(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:40: warning: ‘GetContext’ is deprecated (declared > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:137) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_SetCurrent(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:93: warning: ‘SetCurrent’ is deprecated (declared > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:139) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor2(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:180: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:120) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor1(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:216: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:108) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:250: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:97) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLContext_SetCurrent1(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:401: error: no matching function for call to > ‘wxGLContext::SetCurrent()’ > /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:42: note: candidates are: > virtual bool wxGLContext::SetCurrent(const wxGLCanvas&) const > make[1]: *** [wxbindgl_lib_wxgl_bind.o] Error 1 > make: *** [modules] Error 2 > > KOS > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > wxlua-users mailing list > wxlua-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxlua-users > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users