* RE: glut Problems...
@ 2001-05-07 6:33 Andre Bleau
0 siblings, 0 replies; 3+ messages in thread
From: Andre Bleau @ 2001-05-07 6:33 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
>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
These .lib are not for linking with Cygwin's g++; don't use them. Instead,
link with -lglut32 -lglu32 -lopengl32 . This is explained in the README.txt
file in /usr/doc/opengl-1.1.0 .
> >
> >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
WIN32 definition and/or -mwin32 are not necessary for Glut programs.
>Norman Vine
André Bleau, Cygwin's OpenGL package maintainer.
email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: glut Problems...
2001-05-07 1:19 Patrick Reuter
@ 2001-05-07 4:56 ` Norman Vine
0 siblings, 0 replies; 3+ messages in thread
From: Norman Vine @ 2001-05-07 4:56 UTC (permalink / raw)
To: 'Patrick Reuter', cygwin
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* glut Problems...
@ 2001-05-07 1:19 Patrick Reuter
2001-05-07 4:56 ` Norman Vine
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Reuter @ 2001-05-07 1:19 UTC (permalink / raw)
To: cygwin
Hi,
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.
Can anybody help me?
Thanx in advance!
Patrick
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-07 6:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-07 6:33 glut Problems Andre Bleau
-- strict thread matches above, loose matches on Subject: below --
2001-05-07 1:19 Patrick Reuter
2001-05-07 4:56 ` Norman Vine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).