Hi, Fyi: update about building & using osgScaleViewer. Instead of what the README in examples/osgScaleViewer says, I did use CMake to create the Makefile. Using this I can successfully build & run osgScaleViewer. Nice job!
cheers Raymond Raymond de Vries wrote: > Hi, > > Before diving deeper, I would like to ask if osgScaleViewer is supposed > to build properly on Linux. After I changed the Makefile to find my > OpenSceneGraph header files, I get these errors: > > g++ -I../.././build/Linux/include -m32 -march=pentium -Wno-deprecated -g > -Werror -DLinux -DGLX -DGLEW_MX -DEQ_USE_OPENMP -Wall -Wnon-virtual-dtor > -Wsign-promo -Wshadow -Winit-self -Wno-unknown-pragmas > -Wno-unused-parameter -Wno-write-strings -fopenmp -Wno-deprecated > -Wno-deprecated -I../include -I/usr/X11R6/include > -I/home/ray/OpenSceneGraph-svn/include > -DSUBDIR=\"./examples/osgScaleViewer\" -c osgScaleViewer.cpp -o > ../.././obj/Debug/./examples/osgScaleViewer/osgScaleViewer.Linux.o > cc1plus: warnings being treated as errors > In file included from /home/ray/OpenSceneGraph-svn/include/osg/Vec2:17, > from /home/ray/OpenSceneGraph-svn/include/osg/Array:19, > from /home/ray/OpenSceneGraph-svn/include/osg/Uniform:22, > from /home/ray/OpenSceneGraph-svn/include/osg/StateSet:21, > from /home/ray/OpenSceneGraph-svn/include/osg/Node:19, > from frameData.h:28, > from config.h:25, > from osgScaleViewer.cpp:24: > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f: In constructor > ‘osg::Vec2f::Vec2f(float, float)’: > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f:43: error: declaration of > ‘y’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f:43: error: declaration of > ‘x’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f: In member function ‘void > osg::Vec2f::set(float, float)’: > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f:60: error: declaration of > ‘y’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec2f:60: error: declaration of > ‘x’ shadows a member of 'this' > In file included from /home/ray/OpenSceneGraph-svn/include/osg/Vec3:17, > from /home/ray/OpenSceneGraph-svn/include/osg/Array:20, > from /home/ray/OpenSceneGraph-svn/include/osg/Uniform:22, > from /home/ray/OpenSceneGraph-svn/include/osg/StateSet:21, > from /home/ray/OpenSceneGraph-svn/include/osg/Node:19, > from frameData.h:28, > from config.h:25, > from osgScaleViewer.cpp:24: > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f: In constructor > ‘osg::Vec3f::Vec3f(float, float, float)’: > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:41: error: declaration of > ‘z’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:41: error: declaration of > ‘y’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:41: error: declaration of > ‘x’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f: In member function ‘void > osg::Vec3f::set(float, float, float)’: > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:67: error: declaration of > ‘z’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:67: error: declaration of > ‘y’ shadows a member of 'this' > /home/ray/OpenSceneGraph-svn/include/osg/Vec3f:67: error: declaration of > ‘x’ shadows a member of 'this' > > etc etc > > Any ideas? > > regards > Raymond > > > _______________________________________________ > eq-dev mailing list > [email protected] > http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev > http://www.equalizergraphics.com > > _______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

