PDA

View Full Version : opengl.cpp build error



bvanevery
03-27-2013, 02:49 AM
This is ClanLib 3.0 SVN rev 9584 built on Lubuntu 12.10. Many similar errors with make -k.

In file included from opengl.cpp:32:0:
../../Sources/API/GL/openg rel.h:107:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:108:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:109:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:110:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:111:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:112:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:113:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:114:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:115:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:116:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:117:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:118:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:119:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:121:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
../../Sources/API/GL/opengl.h:122:16: error: extra qualification 'clan::OpenGL::' on member 'to_enum' [-fpermissive]
opengl.cpp: In static member function 'static void (* clan::OpenGL::get_proc_address(const string&))()':
opengl.cpp:261:75: error: 'render_window' was not declared in this scope
opengl.cpp:265:13: error: invalid use of incomplete type 'const class clan::GL3WindowProvider'
In file included from opengl.cpp:43:0:
GL3/gl3_graphic_context_provider.h:58:7: error: forward declaration of 'const class clan::GL3WindowProvider'
make[2]: *** [libclan30GL_la-opengl.lo] Error 1

rombust
03-27-2013, 02:18 PM
Thanks.

Started fixing it, finish tomorrow hopefully

rombust
03-28-2013, 10:02 AM
It seems that someone beat me to it :D

I tried Examples/Basic2D ... It now runs perfectly using the clanSWRender target (enabled in program.cpp).

I have not tried clanGL, since this is a new install of Debian with the default buggy free drivers.

bvanevery
03-28-2013, 05:26 PM
Looks like this one builds now.