Results 1 to 4 of 4

Thread: opengl.cpp build error

  1. #1

    Default opengl.cpp build error

    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

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Thanks.

    Started fixing it, finish tomorrow hopefully

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    It seems that someone beat me to it

    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.

  4. #4

    Default

    Looks like this one builds now.

Similar Threads

  1. OpenGL error 1281, Missing lost of graphics.
    By MvGulik in forum Dink Smallwood HD
    Replies: 2
    Last Post: 11-22-2011, 04:04 PM
  2. Android build error
    By Le Viet Bach in forum Proton SDK
    Replies: 1
    Last Post: 01-10-2011, 06:49 PM
  3. Error&Workaround: Unable to create OpenGL creation query window
    By McBen in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 04-08-2009, 05:41 PM
  4. build clanLib on vc6.0 error
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-11-2007, 05:18 AM
  5. build clanLib on vc6.0 error
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-11-2007, 05:16 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •