From: Mor V. <mve...@gm...> - 2015-09-16 10:54:08
|
Solved the problem. Needed to include in the G++ LINKER the libraries ompl_app_base and ompl_app as well. Please update this in http://ompl.kavrakilab.org/buildSystem.html Thanks 2015-09-16 13:20 GMT+03:00 Mor Vered <mve...@gm...>: > Hi all, > > I am having a problem with running any of the omplapp code on eclipse. > I followed the instructions in > https://bitbucket.org/ompl/ompl/issues/13/how-to-start-after-installing > and am able to run all of the ompl demos but not the OMPL.app demos. > > I am able to run demo_SE3RigidBodyPlanning from the command line : > "./demo_SE3RigidBodyPlanning" without any problem. > > However, when writing the first line of code alone in eclipse: > "ompl::app::SE3RigidBodyPlanning setup;" > > I get the following errors : > Description Resource Path Location Type > undefined reference to `vtable for ompl::app::SE3RigidBodyPlanning' > OMPLAPP line 30, external location: > /usr/local/include/omplapp/apps/SE3RigidBodyPlanning.h C/C++ Problem > undefined reference to `vtable for ompl::app::SE3RigidBodyPlanning' > OMPLAPP line 36, external location: > /usr/local/include/omplapp/apps/SE3RigidBodyPlanning.h C/C++ Problem > undefined reference to `vtable for ompl::app::RigidBodyGeometry' OMPLAPP line > 57, external location: > /usr/local/include/omplapp/geometry/RigidBodyGeometry.h C/C++ Problem > undefined reference to `vtable for ompl::app::RigidBodyGeometry' OMPLAPP line > 62, external location: > /usr/local/include/omplapp/geometry/RigidBodyGeometry.h C/C++ Problem > undefined reference to > `ompl::app::RigidBodyGeometry::allocStateValidityChecker(boost::shared_ptr<ompl::base::SpaceInformation> > const&, boost::function<ompl::base::State const* (ompl::base::State const*, > unsigned int)> const&, bool)' OMPLAPP line 110, external location: > /usr/local/include/omplapp/apps/AppBase.h C/C++ Problem > undefined reference to > `ompl::app::InferProblemDefinitionBounds(boost::shared_ptr<ompl::base::ProblemDefinition> > const&, boost::function<ompl::base::State const* (ompl::base::State const*, > unsigned int)> const&, double, double, unsigned int, > boost::shared_ptr<ompl::base::StateSpace> const&, ompl::app::MotionModel)' > OMPLAPP line 93, external location: > /usr/local/include/omplapp/apps/AppBase.h C/C++ Problem > undefined reference to > `ompl::app::InferEnvironmentBounds(boost::shared_ptr<ompl::base::StateSpace> > const&, ompl::app::RigidBodyGeometry const&)' OMPLAPP line 88, external > location: /usr/local/include/omplapp/apps/AppBase.h C/C++ Problem > undefined reference to > `ompl::app::allocGeometricStateProjector(boost::shared_ptr<ompl::base::StateSpace> > const&, ompl::app::MotionModel, boost::shared_ptr<ompl::base::StateSpace> > const&, boost::function<ompl::base::State const* (ompl::base::State const*, > unsigned int)> const&)' OMPLAPP line 117, external location: > /usr/local/include/omplapp/apps/AppBase.h C/C++ Problem > make: *** [OMPLAPP] Error 1 OMPLAPP C/C++ Problem > > > Any ideas ? > > Thanks a lot, > > Mor > |