X-Recipient: archive-cygwin@delorie.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@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

