Re: OpenGL linking problems

2010-09-11 Thread Marco Atzeri
--- Mer 8/9/10, Jon TURNEY ha scritto: > On 08/09/2010 13:53, David Doria > wrote: > >> 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

Re: OpenGL linking problems

2010-09-08 Thread Jon TURNEY
On 08/09/2010 13:53, David Doria wrote: 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

Re: OpenGL linking problems

2010-09-08 Thread mike marchywka
On 9/8/10, David Doria wrote: >> 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-deprec

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 Jon TURNEY
On 08/09/2010 12:24, David Doria wrote: 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 do

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-07 Thread Jon TURNEY
On 04/09/2010 17:29, André Bleau wrote: On 05/09/2010 00:16, David Doria wrote: 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 hardwar

Re: OpenGL linking problems

2010-09-04 Thread André Bleau
David Doria wrote: > Hi André, Hi David, > > I think I'm trying to build an X11 application - I'm trying to use a > library called VTK (http://www.vtk.org/). I don't believe it uses > glut, and I do see a bunch of X11 options in the CMake files. Even if > there is no support for hardwar

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

Re: OpenGL linking problems

2010-09-04 Thread André Bleau
David Doria wrote: > 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