Hi,
Good point Jason, I forgot about that.  I tried a reinstall and I still got the 
error.  It seems that pipe won't redirect the stderr, just stdio.  Ill have to 
do some research on that to get more error information.
Here is what stdio printed before it died.

> [ 14%] Building CXX object src/osg/CMakeFiles/osg.dir/TransferFunction.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/Transform.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/Uniform.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/Version.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/VertexProgram.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/View.o
> [ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/Viewport.o
> Linking CXX shared library ../../bin/cygosg-2.8.1.dll

And some of the std error

> 
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4579): undefined reference to 
> `_gl
> GetIntegerv'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x45db): undefined reference to 
> `_gl
> GetIntegerv'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x474e): undefined reference to 
> `_gl
> EnableClientState'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x47c8): undefined reference to 
> `_gl
> EnableClientState'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4ab7): undefined reference to 
> `_gl
> GetError'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4acf): undefined reference to 
> `_gl
> uErrorString'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4bf5): undefined reference to 
> `_gl
> GetError'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4c0d): undefined reference to 
> `_gl
> uErrorString'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4d4c): undefined reference to 
> `_gl
> GetError'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text+0x4d64): undefined reference to 
> `_gl
> uErrorString'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State20applyModelViewMatrixE
> PKNS_10RefMatrixdE[osg::State::applyModelViewMatrix(osg::RefMatrixd 
> const*)]+0x6
> 5): undefined reference to `_glLoadIdentity'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State21applyProjectionMatrix
> EPKNS_10RefMatrixdE[osg::State::applyProjectionMatrix(osg::RefMatrixd 
> const*)]+0
> x21): undefined reference to `_glMatrixMode'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State21applyProjectionMatrix
> EPKNS_10RefMatrixdE[osg::State::applyProjectionMatrix(osg::RefMatrixd 
> const*)]+0
> x71): undefined reference to `_glLoadIdentity'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State21applyProjectionMatrix
> EPKNS_10RefMatrixdE[osg::State::applyProjectionMatrix(osg::RefMatrixd 
> const*)]+0
> x7d): undefined reference to `_glMatrixMode'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State9applyModeEjbRNS0_9Mode
> StackE[osg::State::applyMode(unsigned int, bool, 
> osg::State::ModeStack&)]+0x3a):
>  undefined reference to `_glEnable'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State9applyModeEjbRNS0_9Mode
> StackE[osg::State::applyMode(unsigned int, bool, 
> osg::State::ModeStack&)]+0x47):
>  undefined reference to `_glDisable'
> CMakeFiles/osg.dir/State.o:State.cpp:(.text$_ZN3osg5State19disableIndexPointerEv
> [osg::State::disableIndexPointer()]+0x3c): undefined reference to 
> `_glDisableCli
> entState'
> CMakeFiles/osg.dir/Stencil.o:Stencil.cpp:(.text+0x184): undefined reference 
> to `
> _glStencilFunc'
> CMakeFiles/osg.dir/Stencil.o:Stencil.cpp:(.text+0x1a6): undefined reference 
> to `
> _glStencilOp'
> CMakeFiles/osg.dir/Stencil.o:Stencil.cpp:(.text+0x1b4): undefined reference 
> to `
> _glStencilMask'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x84f): 
> undefine
> d reference to `_glStencilOp'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x85d): 
> undefine
> d reference to `_glStencilMask'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x87f): 
> undefine
> d reference to `_glStencilFunc'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x8b4): 
> undefine
> d reference to `_glStencilOp'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x8c2): 
> undefine
> d reference to `_glStencilMask'
> CMakeFiles/osg.dir/StencilTwoSided.o:StencilTwoSided.cpp:(.text+0x8e4): 
> undefine
> d reference to `_glStencilFunc'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x4c7): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x4e5): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x50f): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x52d): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x54b): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x569): more 
> undefin
> ed references to `_glTexEnvi' follow
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x695): undefined 
> re
> ference to `_glTexEnvf'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x6b3): undefined 
> re
> ference to `_glTexEnvf'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x6d9): undefined 
> re
> ference to `_glTexEnvfv'
> CMakeFiles/osg.dir/TexEnvCombine.o:TexEnvCombine.cpp:(.text+0x6f7): undefined 
> re
> ference to `_glTexEnvi'
> CMakeFiles/osg.dir/TexEnv.o:TexEnv.cpp:(.text+0x2cb): undefined reference to 
> `_g
> $
> 

... 

Thank you!

Cheers,
Christopher

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13876#13876





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to