Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <4.3.2.7.0.20020128153138.00b3f020@irispavp.igb.umontreal.ca>
X-Sender: bleau2@irispavp.igb.umontreal.ca
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Mon, 28 Jan 2002 15:39:08 -0500
To: cygwin@cygwin.com
From: Andre Bleau <bleau@igb.umontreal.ca>
Subject: Re: problem linking to opengl functions, VTK
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
X-MDRemoteIP: 10.52.48.85
X-Return-Path: bleau@igb.umontreal.ca
X-MDaemon-Deliver-To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g0SKbGP04766


>/usr/opt/VTK/VTK/bin//libvtkRendering.a(vtkOpenGLActor.o): In function
>`vtkOpenGLActor::Render(vtkRenderer *, vtkMapper *)':
>/usr/opt/VTK/VTK/Rendering/vtkOpenGLActor.cxx:88: undefined reference to
>`glGetIntegerv'
>/usr/opt/VTK/VTK/Rendering/vtkOpenGLActor.cxx:95: undefined reference to
>`glDepthMask'
>/usr/opt/VTK/VTK/Rendering/vtkOpenGLActor.cxx:122: undefined reference to
>`glMatrixMode'
>/usr/opt/VTK/VTK/Rendering/vtkOpenGLActor.cxx:123: undefined reference to
>`glPushMatrix'
>/usr/opt/VTK/VTK/Rendering/vtkOpenGLActor.cxx:124: undefined reference to
>`glMultMatrixd'

This output shows that your VTK library has not been properly compiled 
(wrong OpenGL headers). The compile/link command for your main() seems 
correct; check the compilation commands that were used for VTK.



André Bleau, Cygwin's OpenGL package maintainer.

email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)



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

