delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/29/23:54:50

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
From: Aks3001 AT aol DOT com
Message-ID: <94.1788e1fa.2896324f@aol.com>
Date: Sun, 29 Jul 2001 23:45:19 EDT
Subject: openGL problem
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Mailer: AOL 5.0 for Windows sub 124

Hi,

    I just installed cygwin and am having a problem with openGL code.  The 
libraries gl.h and glut.h are being found ok, but I still get "undefined 
reference" errors for basic open gl commands (such as glBegin and glEnd).  
Typical error messages are:

  /cygdrive/c/WINDOWS/TEMP/ccErOYTE.o(.text+0x35d):sqr.c: undefined reference 
to 'glBegin'

/usr/libcygwin.a(libmain.o)(.text+0x6a):libmain.c: undefined reference to 
'Winmain AT 16'

When I type 'echo $PATH" I find:
/usr/local/bin:/usr/bin:/bin:/cygdrive/C/WINDOWS:/cygdrive/C/WINDOWS/COMMAND

Is my path ok?  After running setup I didn't do anything else (I got the 
impression I didn't need to do anything else as everything was running; I 
even got the hello world program to run) and I'm wondering if I need to set 
up the path or my profile etc.

Hope somebody can help fix this problem,

Many thanks in advance!

aks


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