delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/18/03:04:28

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, 18 Oct 2003 03:00:42 -0400 (EDT)
From: Suresh Venkatasubramanian <suresh AT research DOT att DOT com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: OpenGL and Cygwin
Message-ID: <Pine.LNX.4.58.0310180251280.18697@apollonius.research.att.com>
MIME-Version: 1.0

Hi,
  I apologize in advance if this duplicates questions already asked and
answered: I have searched the cygwin/cygwin-apps mailing lists already,
and there appears to be no clear answer, and most of the FAQs are a bit
outdated.

I have an opengl program that I wish to compile under the cygwin
environment, but using NO mesa drivers, only the native windows drivers.
This program uses GLU and GLUT, as well as opengl and nvidia extensions.

Now I have downloaded the nvidia extensions headers, and am able to create
object files correctly, after some experimenting (it appears that I need
to use the -mno-cygwin flag to enable the _WIN32 macros).

However, I have severe problems when linking using g++ *.o -lglu32
-lglut32 -lopengl32 (as per the /usr/doc/opengl*/README file). Most of the
stubs cannot be found. A sampling of the errors I get:


....undefined reference to `_glTexParameterf AT 12`
....undefined reference to`_glPixelStorei AT 8`

A sign that I am probably missing some more basic libs is that I even get
undefined references to __assert, as well as something mysterious called
__imp__iob, which again looks like somethng unrelated to the opengl code I
am compiling.

I'd appreciate any help....

Suresh Venkatasubramanian, Ph: 973 360 8951 (o)
Member, Technical Staff    Web: http://www.research.att.com/~suresh/
AT&T Shannon Labs

Amateurs built the Ark; professionals built the Titanic - heard on Car Talk

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