digitalmars.D - OpenGL libs
- Trevor Parscal (12/12) May 17 2005 I have been using a D port of opengl and openglu I stripped off of a pro...
- Trevor (9/21) May 17 2005 Also, I looked at my lib, after conversion, and it has gluPickMatrix@36
- John Reimer (6/13) May 17 2005 Derelict is /not/ about SDL. SDL is just one part of it. You can impor...
- Mike Parker (14/21) May 17 2005 DerelictGL has no dependencies upon DerelictSDL - they are two separate
I have been using a D port of opengl and openglu I stripped off of a project called Yane, which is a cross platform game engine. This library has worked well with my program until I tried to use the gluPickMatrix() function, and now optlink isn't finding that in the lib I got from it. I am NOT using SDL, so derelict's custom version of opengl is not going to work, I have tried. It conflicts with my wingdi.d imports. I have been looking, but I can't seem to find another version, perhaps someone might know of one out there that might have the gluPickMatrix() compiled in. Thanks in advance. Trevor Parscal www.trevorparscal.com trevorparscal hotmail.com
May 17 2005
In article <d6di5h$j3f$1 digitaldaemon.com>, Trevor Parscal says...I have been using a D port of opengl and openglu I stripped off of a project called Yane, which is a cross platform game engine. This library has worked well with my program until I tried to use the gluPickMatrix() function, and now optlink isn't finding that in the lib I got from it. I am NOT using SDL, so derelict's custom version of opengl is not going to work, I have tried. It conflicts with my wingdi.d imports. I have been looking, but I can't seem to find another version, perhaps someone might know of one out there that might have the gluPickMatrix() compiled in. Thanks in advance. Trevor Parscal www.trevorparscal.com trevorparscal hotmail.comAlso, I looked at my lib, after conversion, and it has gluPickMatrix 36 specified. The linker is reporting an error with an undefined symbol _gluPickMatrix 48 I am no clue if that helps. Thanks some more... Trevor Parscal www.trevorparscal.com trevorparscal hotmail.com
May 17 2005
On Tue, 17 May 2005 19:54:25 +0000, Trevor Parscal wrote:I have been using a D port of opengl and openglu I stripped off of a project called Yane, which is a cross platform game engine. This library has worked well with my program until I tried to use the gluPickMatrix() function, and now optlink isn't finding that in the lib I got from it. I am NOT using SDL, so derelict's custom version of opengl is not going to work, I have tried. It conflicts with my wingdi.d imports.Derelict is /not/ about SDL. SDL is just one part of it. You can import the Derelict OpenGL separately if you like. Derelict lets you choose which kits you want to import and use. SDL is just one them. GLFW is also available if you need or want it. -JJR
May 17 2005
Trevor Parscal wrote:I have been using a D port of opengl and openglu I stripped off of a project called Yane, which is a cross platform game engine. This library has worked well with my program until I tried to use the gluPickMatrix() function, and now optlink isn't finding that in the lib I got from it. I am NOT using SDL, so derelict's custom version of opengl is not going to work, I have tried. It conflicts with my wingdi.d imports.DerelictGL has no dependencies upon DerelictSDL - they are two separate beasts that are direct bindings to OpenGL and SDL. The conflict you have arises from Derleict's use of std.c.windows.windows, which is missing some GDI declarations required for Opengl through Win32. In order to workaround the missing declarations, I added them to the derelict.opengl.wgl module. Unless you are using things in your wingdi module that aren't covered by std.c.windows.windows + derelict.opengl.wgl, then you can eliminate the conflict either by dropping your wingdi module OR by modifying your local copy of derelict.opengl.wgl to use your wingdi module and commenting out the Win32 stuff there. Ultimately, the Phobos Windows stuff needs fleshing out so we can have a standard Win32 import tree.
May 17 2005