wolftousen
Joined: 28 Jan 2008 Posts: 10
|
Posted: Thu Feb 19, 2009 1:47 pm Post subject: DerelictGL Revision 332 issue |
|
|
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 |
|