OpenGL question

Earnie Boyd earnie_boyd@yahoo.com
Thu Nov 30 09:11:00 GMT 2000


--- Maurice Vosmeijer <maurice.vosmeijer@philips.com> wrote:
> 
> The linker command line that I use in the makefile is as followes:
>   gcc -lglut32 -lglu32 -lopengl32 <a number of objects> -o TD
> 
> Question:
>   What am I doing wrong ??
>   Am I missing something ?
> 

When linking the placement of the libraries matter.  To fix your problem move
the -l switches to the end of the command line.  For further information 
`info --file /usr/info/gcc'

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list