This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem linking to opengl functions, VTK



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]