delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/04/10:36:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 4 Sep 2010 10:35:51 -0400
Message-ID: <AANLkTi=qvBTteJVJHXyjNyUrmXu63R7qTnODZagaO6Cc@mail.gmail.com>
Subject: OpenGL linking problems
From: David Doria <daviddoria AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I'm trying to build a library (VTK) in Cygwin. I am getting a lot of
errors like this

undefined reference to `_glDepthMask'
undefined reference to=A0`_glGetIntegerv'
undefined reference to=A0`_glMatrixMode'

I installed ALL of the cygwin packages to try to avoid problems like
this. I also added

export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/lib

to my ~/.bash_profile

Anyone know how to get something to link against OpenGL in cygwin?

Thanks,

David

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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