FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DerelictGL Revision 332 issue

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
wolftousen



Joined: 28 Jan 2008
Posts: 10

PostPosted: Thu Feb 19, 2009 1:47 pm    Post subject: DerelictGL Revision 332 issue Reply with quote

There is currently an issue in the newest revision of DerelictGL.

In the file .../opengl/extensions/nv/occlusion_query.d there are some semi-colons where there need to be commas.

this:
87 enum : GLenum
88 {
89 GL_PIXEL_COUNTER_BITS_NV = 0x8864;
90 GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865;
91 GL_PIXEL_COUNT_NV = 0x8866;
92 GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
93 }

needs to be:
87 enum : GLenum
88 {
89 GL_PIXEL_COUNTER_BITS_NV = 0x8864,
90 GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865,
91 GL_PIXEL_COUNT_NV = 0x8866,
92 GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867,
93 }

If you try to compile the newest revision it will error out b/c of those semi-colons, just go in and fix it until a new revision is up.

If you are using dsss, it will fail to do net install for DerelictGL b/c of this also. Just download the trunk, unzip, edit the file and run dsss build in the unzipped folder. Copy new libDerelictGL.a/lib to correct location and copy /opengl contents to the oppropriate include directory.

Hope this helps those having issues with newest trunk.

~Wolftousen
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Feb 19, 2009 6:43 pm    Post subject: Reply with quote

That's what I get for not compiling before committing. Thanks!
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group