This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OpenGL, -mno-cygwin AND GLUT


>If you have the latest gcc for Cygwin, that is 2.95.2->7 (you can check with 
>gcc -v), and you compile programs using glut with -mno->cygwin, you must 
>also use -mwin32.
>
>BTW, your linking order is incorrect. >From /usr/doc/opengl-1.1.0/README.txt:
>
>         Linking of code calling OpenGL, GLU, GLUT
>         -----------------------------------------
>
>         Add -lglut32 -lglu32 -lopengl32 to your link >command.
>
>Always link with the highest-level librairies first, >the more basic ones
>last.
>Instructions for compiling glut/glu/openGL programs >with -mno-cygwin will 
>be added in the README file of the next release of the >package.

I have updated to the newest Cygwin, and have used the command line changes you specify, but the errors remain...

Shawn

Please CC responses to CaetSith7@aol

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]