Hi Brian,

I have not updated Cygwin yet, but you should be able to set the appropriate 
OpenGL paths with the OPENGL_INCLUDE_DIR, OPENGL_gl_LIBRARY and 
OPENGL_glu_LIBRARY of CMake.

Regards,

Alberto

El Miércoles 26 Noviembre 2008ES 18:24:20 Brian Keener escribió:
> I'm having build errors building OSG from svn in Cygwin.  New updates
> were recently released for the Cygwin/X applications and it was a very
> extensive update of the applications.  There have been some GL issues
> and not sure if this is related - I thought they were getting most of
> them worked out.  One of the other majors changes was that the X apps
> moved from an install in /usr/X11R6 the now go to just /usr IE /usr/bin
> /usr/lib etc.  I'm also not sure if that affects this either.  Now I am
> getting these errors - any thoughts - this  is only a sampling -
> there's a lot more just like these but other programs.
>
> bk
>
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f3
> 8): undef
> ined reference to `_glTexImage2D'
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f8
> 7): undef
> ined reference to `_glPixelStorei'
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x209
> a): undef
> ined reference to `_glPixelStorei'
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x224
> 1): undef
> ined reference to `_glTexSubImage2D'
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x241
> 4): undef
> ined reference to `_glCopyTexImage2D'
> CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x254
> b): undef
> ined reference to `_glCopyTexSubImage2D'
> CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x14ba):
> undefined r
> eference to `_glGetError'
> CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x154e):
> undefined r
> eference to `_glGetIntegerv'
> CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x1564):
> undefined r
> eference to `_glGetString'
> CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x1966):
> undefined r
> eference to `_glMatrixMode'
> CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x19a7):
> undefined r
> eference to `_glMatrixMode'
> CMakeFiles/osg.dir/Viewport.o:Viewport.cpp:(.text+0x191): undefined
> reference to
>  `_glViewport'
> Creating library file: ../../lib/libosg.dll.a
> collect2: ld returned 1 exit status
> make[2]: *** [bin/cygosg-2.7.6.dll] Error 1
> make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
> make: *** [all] Error 2
>
> [EMAIL PROTECTED] /usr/develop/obj/osg
> $
>


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to