delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/23/16:22:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 23 Nov 2002 22:22:35 +0100 (MET)
From: Samuel Mahy <mahy AT student DOT fsa DOT ucl DOT ac DOT be>
Message-Id: <200211232122.gANLMZJ00998@neptune.fsa.ucl.ac.be>
X-Authentication-Warning: neptune.fsa.ucl.ac.be: nobody set sender to mahy AT mailst DOT fsa DOT ucl DOT ac DOT be using -f
To: cygwin AT cygwin DOT com
Reply-To: mahy AT student DOT fsa DOT ucl DOT ac DOT be
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Subject: gcc, opengl, glut, GL & GLU

hi,

Can you tell me how to compile a C file which use the 
following libraries :

GL
GLU
glut

I have tried with : 

gcc -o file -Wall -lglut -lGL -lGLU file.c

but I recieved the following message : 

/usr/lib/gcc-lib/i686-pc-cygwin/3.2/ ../../../../i686-
pc-cygwin/bin/ld : cannot find -lGLU
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/ ../../../../i686-
pc-cygwin/bin/ld : cannot find -lGL

Thanks

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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