This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: OpenGL question
- To: Maurice Vosmeijer <maurice dot vosmeijer at philips dot com>, cygwin at sources dot redhat dot com
- Subject: Re: OpenGL question
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 30 Nov 2000 09:11:08 -0800 (PST)
--- 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