delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/20/11:45:54

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 20 Jan 2003 11:45:36 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?iso-8859-1?Q?Mikael_=C5sberg?= <mikas493 AT student DOT liu DOT se>
cc: cygwin AT cygwin DOT com
Subject: Re: Building opengl applications
In-Reply-To: <005401c2c08b$3262d440$70eaec82@mindcooler>
Message-ID: <Pine.GSO.4.44.0301201141530.10883-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0KGjsq19078

On Mon, 20 Jan 2003, [iso-8859-1] Mikael Åsberg wrote:

> Hello, I am trying to build a simple OpenGL program (an example taken from
> the famous "Red Book"). However, during the build process the following
> error messages are displayed:
>
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0xe):test.c:
> undefined reference to `glEnableClientState AT 4'
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x1d):test.c:
> undefined reference to `glEnableClientState AT 4'
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x44):test.c:
> undefined reference to `glVertexPointer AT 16'
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x6b):test.c:
> undefined reference to `glColorPointer AT 16'
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x92):test.c:
> undefined reference to `glInterleavedArrays AT 12'
>
> Actually, there is more, but each error is an undefined reference so it
> seems gcc cannot find
> the libraries. I did install them, though.
> Building with -glut32 -lglu32 -lopengl32
>
> What am I doing wrong?
>
> Hope you can help me =)
>
> // Mikael
>
> --
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

Mikael,

Please note the last 3 lines above.  I'm sure at least some of the
relevant information is contained there.  If not, at least they contain a
way of reporting your problem with the maximum of useful information
(especially the first link of the three).  Without knowing the exact
command line you gave to gcc and the packages you have installed, there is
no way to provide useful input.  Please peruse the instructions at the
above links on how to report your problem properly.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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