View Full Version : porting unix opengl codes to window

03-13-2003, 09:30 PM
as the title suggests, how do i go about doing it?

any website to recommend before i commence? thanks in advance ...

03-13-2003, 11:44 PM
Hi !

OpenGL does not need any porting...

But I guess you mean the other stuff, if you have existing code and want to port it do Windows...well it depends on what the code you have, if it is glut/SDL or something like that, then your are almost already done, if not, well then it depends on what your code is in the first place, are you using X/GLX, Qt, FOX, Fltk, GTK or something else ?


[This message has been edited by mikael_aronsson (edited 03-14-2003).]

03-17-2003, 08:07 PM

system based on unix,
most of the codes using X-lib, glx.h.

e.g, XtSetArg, XtPopup .. etc etc


03-24-2003, 10:57 PM
anyone can help... thanks

03-24-2003, 11:29 PM
Cygnus and others has X servers that runs under Windows. I dont know how good the OpenGL support is.

03-25-2003, 08:38 PM
thanks pal, i would prefer if cygwin is not used.. anyone any experience? thanks

03-25-2003, 10:29 PM

I should advice the use of cygwin or Mingw32 too. Why don't you want mind using it?

Either you should begin porting low-system functions (ie redirect the Gfx outputs with the Gfx lib functions of the Win32 environment - or straight in OpenGL - ) but that's way longer and harder, from my experience...

Good work

03-25-2003, 10:40 PM
Try google. Type in "porting unix windows". Search some of the sites. There are some articles that could be helpful along with links to information you seek...