Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Oh, I guess you have a makefile generated by cmake? In which case you need > make VERBOSE=1 to get it to show you what it is doing. > Ok, now there is some useful output. I see an -lGL, what else should I be looking for? /usr/bin/c++.exe -Wno-deprecated -mwin32 CMakeFiles/GraphicsCxxTests.d

Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Since you don't give the link line which is causing the problem, I'd tend to > assume the problem is [2] > [2] http://cygwin.com/faq/faq-nochunks.html#faq.programming.linker I looked at the make man page to try to see how to get make to tell me what it is doing (i.e. show the g++ commands that

Re: OpenGL linking problems

2010-09-04 Thread David Doria
> Well, we need more info to help us help you. What kind of application are you > trying to build? X11 or native? There are 2 ways to build OpenGL-related > programs: > > 1- Using native OpenGL, with driver supported hardware acceleration. For > that, you need some way to > get a graphic device

OpenGL linking problems

2010-09-04 Thread David Doria
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 expor