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:806: warning: ‘Inside’ is deprecated (declared at
/usr/local/include/wx-2.8/wx/gdicmn.h:486)
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLCanvas_constructor(lua_State*)’:
./wxbind/src/gdi.cpp:10368: error: invalid conversion from ‘const int*’ to
‘int*’
./wxbind/src/gdi.cpp:10368: error:   initializing argument 7 of
‘wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize
&, long int, const wxString&, int*, const wxPalette&)’
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLCanvasFromContext_constructor(lua_State*)’:
./wxbind/src/gdi.cpp:10405: error: invalid conversion from ‘const int*’ to
‘int*’
./wxbind/src/gdi.cpp:10405: error:   initializing argument 8 of
‘wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLContext*, wxWindowID, const wx
Point&, const wxSize&, long int, const wxString&, int*, const wxPalette&)’
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLCanvasFromCCanvas_constructor(lua_State*)’:
./wxbind/src/gdi.cpp:10442: error: invalid conversion from ‘const int*’ to
‘int*’
./wxbind/src/gdi.cpp:10442: error:   initializing argument 8 of
‘wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLCanvas*, wxWindowID, const wxP
oint&, const wxSize&, long int, const wxString&, int*, const wxPalette&)’
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContext_constructor(lua_State*)’:
./wxbind/src/gdi.cpp:10565: error: no matching function for call to
‘wxGLContext::wxGLContext(bool&, wxGLCanvas*&, const wxPalette&)’
/usr/local/include/wx-2.8/wx/gtk/glcanvas.h:39: note: candidates are:
wxGLContext::wxGLContext(wxWindow*, const wxGLContext*)
/usr/local/include/wx-2.8/wx/gtk/glcanvas.h:37: note:
wxGLContext::wxGLContext(const wxGLContext&)
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContextOther_constructor(lua_State*)’:
./wxbind/src/gdi.cpp:10592: error: no matching function for call to
‘wxGLContext::wxGLContext(bool&, wxGLCanvas*&, const wxPalette&, const
wxGLContext*&)’
/usr/local/include/wx-2.8/wx/gtk/glcanvas.h:39: note: candidates are:
wxGLContext::wxGLContext(wxWindow*, const wxGLContext*)
/usr/local/include/wx-2.8/wx/gtk/glcanvas.h:37: note:
wxGLContext::wxGLContext(const wxGLContext&)
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContext_GetWindow(lua_State*)’:
./wxbind/src/gdi.cpp:10613: error: ‘class wxGLContext’ has no member named
‘GetWindow’
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContext_SetCurrent(lua_State*)’:
./wxbind/src/gdi.cpp:10628: error: no matching function for call to
‘wxGLContext::SetCurrent()’
/usr/local/include/wx-2.8/wx/gtk/glcanvas.h:44: note: candidates are: void
wxGLContext::SetCurrent(const wxGLCanvas&) const
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContext_SetColour(lua_State*)’:
./wxbind/src/gdi.cpp:10643: error: ‘class wxGLContext’ has no member named
‘SetColour’
./wxbind/src/gdi.cpp: In function ‘int
wxLua_wxGLContext_SwapBuffers(lua_State*)’:
./wxbind/src/gdi.cpp:10656: error: ‘class wxGLContext’ has no member named
‘SwapBuffers’
make[1]: *** [wxbind_dll_gdi.o] Error 1

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to