Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.2.7.0.20020128153138.00b3f020@irispavp.igb.umontreal.ca> X-Sender: bleau2 AT irispavp DOT igb DOT umontreal DOT ca X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 28 Jan 2002 15:39:08 -0500 To: cygwin AT cygwin DOT com From: Andre Bleau 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 AT igb DOT umontreal DOT ca X-MDaemon-Deliver-To: cygwin AT cygwin DOT 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/