www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/30/12:35:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001130171108.23965.qmail@web116.yahoomail.com>
Date: Thu, 30 Nov 2000 09:11:08 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: OpenGL question
To: Maurice Vosmeijer <maurice DOT vosmeijer AT philips DOT com>,
cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Maurice Vosmeijer <maurice DOT vosmeijer AT philips DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019