Results 1 to 3 of 3

Thread: Cannot compile with new mesa release

  1. #1

    Default Cannot compile with new mesa release

    Hi guys,
    I maintain clanlib library for opensuse. With the latest mesa release we cannot compile clanlib. Reason is that mesa include definition of GL_TYPE - http://cgit.freedesktop.org/mesa/mes.../glext.h#n3004 . This collide with GL_TYPE usage in enum in GL1/opengl1_defines.h . We now temporary fix it with undefine GL_TYPE patch in top of opengl1_defines.h, but I am not happy with it. Problem is also that these two values differs, so change it any way is really problematic. I think it needs to be somehow fixed, otherwise I am sure other distribution and users hit same issue. Also if you have idea how to fix it, I will happily change our temporary fix for it.

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

    Default

    That is odd.

    I guess that the define for GL_TYPE changed many years ago.

    Only clanGL1 has this problem (which is never updated).
    clanGL is correct (since it is regularly updated)

    Anyway. It is safe to simply remove GL_TYPE from opengl1_defines.h (and the GL_OBJECT_TYPE).
    ClanLib does not use it.

    For ClanLib 2.4 (SVN), ideally the "opengl1_defines.h" should be removed from the API. Nobody should be using raw opengl from 15 years ago!

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

    Default

    Now fixed in ClanLib 2.3 SVN. Sorry for the delay

Similar Threads

  1. ClanLib 2.3.2 Release. ClanLib 2.2.12 Release. Updated Dependencies
    By rombust in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 08-30-2011, 11:08 AM
  2. Methane V1.5.1 Release
    By rombust in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 04-28-2011, 02:27 PM
  3. ClanLib 2.2.5 Release
    By rombust in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 11-05-2010, 11:48 AM
  4. ClanLib 2.2.0 Release
    By rombust in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 07-27-2010, 03:24 AM
  5. release date
    By in forum RTsoft Tavern
    Replies: 1
    Last Post: 01-03-2003, 12:43 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
  •