OpenGL linking problems

David Doria daviddoria@gmail.com
Sat Sep 4 14:35:00 GMT 2010


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 `_glGetIntegerv'
undefined reference to `_glMatrixMode'

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

export LD_LIBRARY_PATH=$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



More information about the Cygwin mailing list