This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: glut Problems...
- To: "'Patrick Reuter'" <preuter at labri dot fr>, <cygwin at cygwin dot com>
- Subject: RE: glut Problems...
- From: "Norman Vine" <nhv at cape dot com>
- Date: Mon, 7 May 2001 07:56:30 -0400
- Reply-To: <nhv at cape dot com>
Patrick Reuter writes:
>
>I have reinstalled cygwin recently.
>
>Before, I never had problems with the glut library, but now using the
>following compilation command:
>
>g++ -pg -O2 -Wall -g main.o ......... -o a.out
>//w/lib/NT/opengl32.lib //w/lib/NT/glu32.lib //w/lib/NT/glut32.lib
>
>the linker doesn't find the glut references anymore:
>
>undefinded reference to 'glutMainLoop()' etc.
You need WIN32 defined for the proper declarations
to be picked up from many header files
easiest to do by adding -mwin32 to the compiler flags
also see
http://sources.redhat.com/ml/cygwin/2001-05/msg00257.html
Norman Vine
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple