From: Dmitry B. <dbe...@cs...> - 2012-08-28 19:26:56
|
Looks good! I've updated the code to work with r3606. Dmitry On Mon, Aug 27, 2012 at 10:42 PM, Rosen Diankov <ros...@gm...> wrote: > i forgot to say that we committed patches (r3603) that fix the problem > and updated the ROS openrave package to r3603. > > > > 2012/8/28 Rosen Diankov <ros...@gm...>: >> hi guys, >> >> it looks like boost switched the default versions underneath our feet. >> >> robert, unfortunately your patches will break openrave for older >> versions of boost. >> >> i also updated the ROS package. >> >> i'm hoping we could officially release openrave 0.8 very soon, so if >> you see any other problems/design flaws, now's the time for feedback. >> Once openrave hits 0.8, the API will freeze for a while. >> >> rosen, >> >> 2012/8/28 Robert Ellenberg <rw...@gm...>: >>> Rosen, you were right about having the incorrect version of openrave, I was >>> using the 0.6.6 tag instead of latest_stable. I Also got the same build >>> error as Dmitry after checking out the latest_stable version (r3602): >>> >>> In file included from >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:32:0: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:297:40: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:299:44: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_CreateInterfaceGlobal()’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:156:34: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:159:38: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_GetPluginAttributes()’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:180:47: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:183:51: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Init(bool)’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: note: >>> suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: note: >>> suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘std::string OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘std::string OpenRAVE::RaveGlobal::FindLocalFile(const string&, const >>> string&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘bool OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >>> boost::filesystem3::path&, const boost::filesystem3::path&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h: At global scope: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:115:20: warning: >>> ‘OpenRAVE::g_fEpsilonLinear’ defined but not used [-Wunused-variable] >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:116:20: warning: >>> ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used [-Wunused-variable] >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:117:20: warning: >>> ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >>> [-Wunused-variable] >>> make[2]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >>> Error 1 >>> make[1]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> I changed every instance boost::filesystem to boost::filesystem3 and it >>> successfully compiled and ran. I've attached the diff of the src folder in >>> case you want to apply it as a patch. >>> >>> Thanks! >>> Rob >>> >>> On Mon, Aug 27, 2012 at 3:21 PM, Dmitry Berenson <dbe...@cs...> >>> wrote: >>>> >>>> Hi Rosen, >>>> >>>> I was trying to test this out, too. I updated the ROS version to get >>>> r3600 by editing the Makefile and then did rosmake openrave. I got >>>> this error: >>>> >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/plugindatabase.h:397:36: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘std::string >>>> OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘std::string >>>> OpenRAVE::RaveGlobal::FindLocalFile(const string&, const string&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘bool >>>> OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >>>> boost::filesystem3::path&, const boost::filesystem3::path&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h: >>>> At global scope: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:115:20: >>>> warning: ‘OpenRAVE::g_fEpsilonLinear’ defined but not used >>>> [-Wunused-variable] >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:116:20: >>>> warning: ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used >>>> [-Wunused-variable] >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:117:20: >>>> warning: ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >>>> [-Wunused-variable] >>>> make[3]: *** >>>> [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >>>> Error 1 >>>> make[3]: *** Waiting for unfinished jobs.... >>>> >>>> >>>> It looks like it wants you to use "boost::filesystem3::complete" >>>> instead of "boost::filesystem::complete". Am I missing some boost >>>> thing? I have boost filesystem installed. >>>> >>>> >>>> Dmitry >>>> >>>> >>>> On Sun, Aug 26, 2012 at 12:13 AM, Rosen Diankov <ros...@gm...> >>>> wrote: >>>> > hi robert, >>>> > >>>> > i think you have multiple openrave versions floating around in the >>>> > system. you'll notice that the latest openrave has "class OpenRAVE_API >>>> > Geometry" declared as part of the Link class, but your error message >>>> > says this is not the case. >>>> > >>>> > >>>> > https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h >>>> > >>>> > rosen, >>>> > >>>> > 2012/8/26 Robert Ellenberg <rw...@gm...>: >>>> >> Hi All, >>>> >> I tried to build this latest version (r4) with version 3600 of >>>> >> openRAVE, >>>> >> and got the following errors: >>>> >> >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member >>>> >> function ‘void >>>> >> CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >>>> >> >&, >>>> >> std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, >>>> >> OpenRAVE::Vector)’: >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>>> >> error: >>>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>>> >> error: >>>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: >>>> >> error: >>>> >> template argument 1 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>>> >> error: >>>> >> template argument 1 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>>> >> error: >>>> >> template argument 2 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: >>>> >> error: >>>> >> invalid type in declaration before ‘;’ token >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: >>>> >> error: >>>> >> cannot convert ‘const >>>> >> std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to >>>> >> ‘int’ in assignment >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: >>>> >> error: >>>> >> request for member ‘size’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: >>>> >> error: >>>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: >>>> >> error: >>>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 >>>> >> make[3]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 >>>> >> make[2]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make[1]: *** [all] Error 2 >>>> >> make[1]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make: *** [install] Error 2 >>>> >> >>>> >> It looks like they may have changed the "Geometry" property of >>>> >> KinBody::Link, because I don't see any references to it in the current >>>> >> openrave source. >>>> >> >>>> >> Thanks! >>>> >> -Rob >>>> >> >>>> >> >>>> >> ------------------------------------------------------------------------------ >>>> >> Live Security Virtual Conference >>>> >> Exclusive live event will cover all the ways today's security and >>>> >> threat landscape has changed and how IT managers can respond. >>>> >> Discussions >>>> >> will include endpoint security, mobile security and the latest in >>>> >> malware >>>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> >> _______________________________________________ >>>> >> comps-users mailing list >>>> >> com...@li... >>>> >> https://lists.sourceforge.net/lists/listinfo/comps-users >>>> >> >>>> > >>>> > >>>> > ------------------------------------------------------------------------------ >>>> > Live Security Virtual Conference >>>> > Exclusive live event will cover all the ways today's security and >>>> > threat landscape has changed and how IT managers can respond. >>>> > Discussions >>>> > will include endpoint security, mobile security and the latest in >>>> > malware >>>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> > _______________________________________________ >>>> > comps-users mailing list >>>> > com...@li... >>>> > https://lists.sourceforge.net/lists/listinfo/comps-users >>> >>> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users |