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 question


--- 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


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