You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,when i run the command "catkin_make_isolated --install", i meet these following mistakes:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/include/osgwTools/Export.h:41:27: note: in definition of macro ‘osgwDEPRECATED’
#define osgwDEPRECATED(x) x attribute ((deprecated))
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp: In member function ‘void osgwTools::ShortEdgeCollapse::setGeometry(osg::Geometry*)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp:1710:20: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (_geometry->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp:1714:20: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
_geometry->copyToAndOptimize(_geometry);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp: In member function ‘virtual osg::Geometry osgwTools::TangentSpaceOp::operator()(osg::Geometry&)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:76:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _normalIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:77:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:83:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _tangentIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:84:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:90:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _binormalIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:91:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp: In member function ‘void osgUtil::{anonymous}::GeometryArrayGatherer::add(osg::Array*, osg::Geometry::AttributeBinding)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:115:29: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
else if (binding == osg::Geometry::BIND_PER_PRIMITIVE)
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp: In member function ‘void osgUtil::IndexMeshVisitor::makeMesh(osg::Geometry&)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:262:38: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getNormalBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:265:33: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getColorBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:268:42: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getSecondaryColorBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:271:36: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getFogCoordBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:311:14: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (geom.suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:315:14: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
geom.copyToAndOptimize(geom);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp: In member function ‘void osgwTools::TangentSpaceGeneratorDouble::generate(osg::Geometry*, int)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:51:14: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (geo->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:55:14: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
geo->copyToAndOptimize(geo);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:66:14: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
if (geo->getVertexIndices() == NULL) {
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:71:41: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
unsigned int index_count = geo->getVertexIndices()->getNumElements();
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:161:14: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
if (geo->getVertexIndices() != NULL) {
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:162:29: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
attrib_count = geo->getVertexIndices()->getNumElements();
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/CountsVisitor.cpp: In member function ‘void osgwTools::CountsVisitor::apply(osg::Drawable)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/CountsVisitor.cpp:284:20: error: ‘class osg::Geometry’ has no member named ‘areFastPathsUsed’
if (!geom->areFastPathsUsed())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp: In member function ‘void osgwTools::HalfEdgeCollapse::setGeometry(osg::Geometry*)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp:1475:20: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (_geometry->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp:1479:20: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
_geometry->copyToAndOptimize(*_geometry);
^
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:950: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceOp.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:830: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/ShortEdgeOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/ShortEdgeOp.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:206: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/CountsVisitor.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/CountsVisitor.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:926: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceGeneratorDouble.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceGeneratorDouble.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:230: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/DecimatorOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/DecimatorOp.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:422: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/MeshOptimizers.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/MeshOptimizers.cpp.o] Error 1
CMakeFiles/Makefile2:280: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/all' failed
make[1]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'uwsim_osgworks':
Command '['/home/ccs/catkin_uwsim/install_isolated/env.sh', 'make', '-j']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/ccs/catkin_uwsim/build_isolated/uwsim_osgworks && /home/ccs/catkin_uwsim/install_isolated/env.sh make -j
My environment is ubuntu16.04 with ros-kinetic,how can i solve this problem?thank you very much!
The text was updated successfully, but these errors were encountered:
Hi,when i run the command "catkin_make_isolated --install", i meet these following mistakes:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/include/osgwTools/Export.h:41:27: note: in definition of macro ‘osgwDEPRECATED’
#define osgwDEPRECATED(x) x attribute ((deprecated))
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp: In member function ‘void osgwTools::ShortEdgeCollapse::setGeometry(osg::Geometry*)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp:1710:20: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (_geometry->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/ShortEdgeOp.cpp:1714:20: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
_geometry->copyToAndOptimize(_geometry);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp: In member function ‘virtual osg::Geometry osgwTools::TangentSpaceOp::operator()(osg::Geometry&)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:76:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _normalIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:77:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:83:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _tangentIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:84:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:90:14: error: ‘class osg::Geometry’ has no member named ‘setVertexAttribData’
geom.setVertexAttribData( _binormalIndex,
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceOp.cpp:91:13: error: ‘ArrayData’ is not a member of ‘osg::Geometry’
osg::Geometry::ArrayData( ptr.get(), osg::Geometry::BIND_PER_VERTEX ) );
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp: In member function ‘void osgUtil::{anonymous}::GeometryArrayGatherer::add(osg::Array*, osg::Geometry::AttributeBinding)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:115:29: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
else if (binding == osg::Geometry::BIND_PER_PRIMITIVE)
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp: In member function ‘void osgUtil::IndexMeshVisitor::makeMesh(osg::Geometry&)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:262:38: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getNormalBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:265:33: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getColorBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:268:42: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getSecondaryColorBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:271:36: error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
if (geom.getFogCoordBinding()==osg::Geometry::BIND_PER_PRIMITIVE ||
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:311:14: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (geom.suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/MeshOptimizers.cpp:315:14: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
geom.copyToAndOptimize(geom);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp: In member function ‘void osgwTools::TangentSpaceGeneratorDouble::generate(osg::Geometry*, int)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:51:14: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (geo->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:55:14: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
geo->copyToAndOptimize(geo);
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:66:14: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
if (geo->getVertexIndices() == NULL) {
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:71:41: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
unsigned int index_count = geo->getVertexIndices()->getNumElements();
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:161:14: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
if (geo->getVertexIndices() != NULL) {
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp:162:29: error: ‘class osg::Geometry’ has no member named ‘getVertexIndices’
attrib_count = geo->getVertexIndices()->getNumElements();
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/CountsVisitor.cpp: In member function ‘void osgwTools::CountsVisitor::apply(osg::Drawable)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/CountsVisitor.cpp:284:20: error: ‘class osg::Geometry’ has no member named ‘areFastPathsUsed’
if (!geom->areFastPathsUsed())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp: In member function ‘void osgwTools::HalfEdgeCollapse::setGeometry(osg::Geometry*)’:
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp:1475:20: error: ‘class osg::Geometry’ has no member named ‘suitableForOptimization’
if (_geometry->suitableForOptimization())
^
/home/ccs/catkin_uwsim/src/uwsim_osgworks/src/osgwTools/DecimatorOp.cpp:1479:20: error: ‘class osg::Geometry’ has no member named ‘copyToAndOptimize’
_geometry->copyToAndOptimize(*_geometry);
^
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:950: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceOp.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:830: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/ShortEdgeOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/ShortEdgeOp.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:206: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/CountsVisitor.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/CountsVisitor.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:926: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceGeneratorDouble.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/TangentSpaceGeneratorDouble.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:230: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/DecimatorOp.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/DecimatorOp.cpp.o] Error 1
src/osgwTools/CMakeFiles/osgwTools.dir/build.make:422: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/MeshOptimizers.cpp.o' failed
make[2]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/MeshOptimizers.cpp.o] Error 1
CMakeFiles/Makefile2:280: recipe for target 'src/osgwTools/CMakeFiles/osgwTools.dir/all' failed
make[1]: *** [src/osgwTools/CMakeFiles/osgwTools.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'uwsim_osgworks':
Command '['/home/ccs/catkin_uwsim/install_isolated/env.sh', 'make', '-j']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/ccs/catkin_uwsim/build_isolated/uwsim_osgworks && /home/ccs/catkin_uwsim/install_isolated/env.sh make -j
My environment is ubuntu16.04 with ros-kinetic,how can i solve this problem?thank you very much!
The text was updated successfully, but these errors were encountered: