D - Help with DUI openGL on Windows
- Ant (13/13) Sep 21 2003 Help with DUI openGL on Windows needed.
- Lars Ivar Igesund (5/10) Sep 22 2003 Mesa use the same headers on Windows, so that
- John Reimer (17/26) Sep 21 2003 I guess one could convert the DigitalMars OpneGL C header or the Mingw
- John Reimer (3/41) Sep 21 2003 In the above post, in the places that I said import library, I meant
- Ant (15/18) Sep 22 2003 That's an idea, I never changed extern(C) to
- Lars Ivar Igesund (5/11) Sep 22 2003 You are quite right: see the thread
Help with DUI openGL on Windows needed. I was trying to get it going but I have an "access violation" on a GtkGlExt call. libduigl and the gl test programs do compile. The problem is that I don't know where to start looking. One thing: I used the converted mesa3D C headers from my linux system. Do you think I should get the headers from the windows somehow? How do I do that? I believe dig has those headers, maybe I'll try those tomorow. Any help/hint to save me some time is welcome. thanks Ant
Sep 21 2003
"Ant" <Ant_member pathlink.com> wrote in message news:bkm2ga$2n7i$1 digitaldaemon.com...One thing: I used the converted mesa3D C headers from my linux system. Do you think I should get the headers from the windows somehow? How do I do that? I believe dig has those headers, maybe I'll try those tomorow.Mesa use the same headers on Windows, so that shouldn't be a problem. In theory. Lars Ivar Igesund
Sep 22 2003
Ant wrote:Help with DUI openGL on Windows needed. I was trying to get it going but I have an "access violation" on a GtkGlExt call.I'll play around with it too, and see what I get.One thing: I used the converted mesa3D C headers from my linux system. Do you think I should get the headers from the windows somehow? How do I do that? I believe dig has those headers, maybe I'll try those tomorow.I guess one could convert the DigitalMars OpneGL C header or the Mingw one to a complete import library (probably done already). From investigation of DIG, Burton did an extern (windows) { /*opengl functions here */ } within net\BurtonRadons\dig\windows\canvasGL. So it's tied into the CanvasGL class. But it should be easy enough to copy. Note that he uses the windows specifice wiggle (wgl) function for opengl context control. The opengl enums are separate in net\BurtonRadons\dig\common\glEnums.d. Then again there's Pavels old opengl 1.1 import lib at http://int19h.tamb.ru . But with this library I think you need to use his SDL import lib for video mode setting. (Does gtk take care of all screen resolution and video context control?). Don't know if that's any help. Later, John
Sep 21 2003
John Reimer wrote:Ant wrote:In the above post, in the places that I said import library, I meant import module.Help with DUI openGL on Windows needed. I was trying to get it going but I have an "access violation" on a GtkGlExt call.I'll play around with it too, and see what I get.One thing: I used the converted mesa3D C headers from my linux system. Do you think I should get the headers from the windows somehow? How do I do that? I believe dig has those headers, maybe I'll try those tomorow.I guess one could convert the DigitalMars OpneGL C header or the Mingw one to a complete import library (probably done already). From investigation of DIG, Burton did an extern (windows) { /*opengl functions here */ } within net\BurtonRadons\dig\windows\canvasGL. So it's tied into the CanvasGL class. But it should be easy enough to copy. Note that he uses the windows specifice wiggle (wgl) function for opengl context control. The opengl enums are separate in net\BurtonRadons\dig\common\glEnums.d. Then again there's Pavels old opengl 1.1 import lib at http://int19h.tamb.ru . But with this library I think you need to use his SDL import lib for video mode setting. (Does gtk take care of all screen resolution and video context control?). Don't know if that's any help. Later, John
Sep 21 2003
In article <bkm5ev$2tjb$1 digitaldaemon.com>, John Reimer says...John Reimer wrote: extern (windows) { /*openglThat's an idea, I never changed extern(C) to extern(windows)! That might fixed the access violation on the combo box (drop down)! (Few places require direct access to the data struct but combo box is one of them) I doubt I can do version(window) extern(windows) version(linux) extern(c) { .. } but I can try... later this evening. Antfunctions here */ }
Sep 22 2003
"Ant" <Ant_member pathlink.com> wrote in message news:bkmvdp$2fc4I doubt I can do version(window) extern(windows) version(linux) extern(c) { .. }You are quite right: see the thread aliasing linkage identifiers from september 19th. Lars Ivar Igesund
Sep 22 2003