delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/07/13:38:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <BAY106-F326CAD62FC3CB0E3EB656493650@phx.gbl>
X-Sender: andre_bleau AT hotmail DOT com
From: =?iso-8859-1?B?QW5kcukgQmxlYXU=?= <andre_bleau AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Linker Error: cannot find -lGL [in Cygwin]
Date: Mon, 07 Nov 2005 13:35:05 -0500
Mime-Version: 1.0

Olumide wrote:
-----------------------------------------------------------------------------------------------
Hi -

I'm sure theres' a straightforward answer to this question. I'm trying to 
link
an object file (main.o) with the OpenGL libraries but I'm getting the 
following
error:

$ g++ main.o -lglut -lGL -lGLU -o demo
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
find
-lGL
collect2: ld returned 1 exit status

Which is quite surprising because I only just reinstalled the latest version 
of
Cygwin (all of it). What am I not doing right?

Thanks,

- Olumide
-----------------------------------------------------------------------------------------------

Olumide,

For instructions about compiling/linking OpenGL and GLUT programs, please 
read:

/usr/share/doc/opengl-1.1.0/README.txt

André Bleau, Cygwin's OpenGL package maintainer
Please send any question regarding the OpenGL package to cygwin at cygwin 
dot com

Anything writen below this line is from my mailing agent and I have no 
control over it.

_________________________________________________________________
Partagez une seule photo ou un diaporama complet dans MSN Messenger. 
http://join.msn.com/?pgmarket=fr-ca&page=features/messenger Commencez dès 
maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
deux premiers mois GRATUITS*.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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