PDA

View Full Version : porting unix opengl codes to window



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

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

mikael_aronsson
03-14-2003, 12:44 AM
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 ?

Mikael


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

03-17-2003, 09:07 PM
hi,

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

e.g, XtSetArg, XtPopup .. etc etc

thanks

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

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

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

acerb
03-25-2003, 11:29 PM
Hi,

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
acerb

03-25-2003, 11: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...