Trouble building demos from mit-ros-pkg
I'm having a little trouble with some dependencies in the mit-ros-pkg which are keeping me from building some of the packages.
When building the the handinteraction demo, using `rosmake handinteraction, I receive 4 errors, stating "'ROS_Error' was not declared in this scope". I will attach the code at the bottom of this post.
When trying to build the piano demo, using
rosmake piano, I am missing a dependency, "body_msgs" which in turn depends on the package
mapping_msgs`. I can't seem to find copies of these packages either (or instructions on how to fix this issue).
Any help would be appreciated.
Thank you.
Code of the error output for the hand_interaction
package:
-- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package skeletal_tracker written to:
[ rosmake ] /home/joe/.ros/rosmake/rosmake_output-20130716-164345/skeletal_tracker/build_output.log
[rosmake-2] Finished <<< skeletal_tracker [FAIL] [ 0.40 seconds ]
[ rosmake ] Halting due to failure in package skeletal_tracker.
[ rosmake ] Waiting for other threads to complete.
[rosmake-0] Finished <<< parallel_tools [PASS] [ 2.71 seconds ]
[ rosmake ] Last 40 linesn: 7.7 sec ] [ 1 Active 51/56 Complete ]
{-------------------------------------------------------------------------------
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp: In function ‘void testFLANN(pcl::PointCloud<PointT>&, double, std::vector<int>) [with PointT = pcl::PointXYZ]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:146:42: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:83:4: error: ‘ROS_INFO’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp: In function ‘void testNNN(pcl::PointCloud<PointT>&, double, std::vector<int>) [with PointT = pcl::PointXYZ]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:148:40: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:115:4: error: ‘ROS_INFO’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp: In function ‘bool randomDownsample(pcl::PointCloud<pcl::PointXYZ>&, int, pcl::PointCloud<pcl::PointXYZ>&)’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:278:134: error: ‘ROS_WARN’ was not declared in this scope
In file included from /home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:47:0:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/include/nnn/nnn.hpp: In member function ‘void SplitCloud2<PointT>::NNN(PointT, std::vector<int>&, double, bool) [with PointT = pcl::PointXYZ]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:113:7: instantiated from ‘void testNNN(pcl::PointCloud<PointT>&, double, std::vector<int>) [with PointT = pcl::PointXYZ]’
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/examples/simpletest.cpp:148:40: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/include/nnn/nnn.hpp:426:9: error: ‘ROS_WARN’ was not declared in this scope
In file included from /home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:51:0:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/include/nnn/nnn.hpp: In member function ‘void SplitCloud2<PointT>::NNN(PointT, std::vector<int>&, double, bool) [with PointT = pcl::PointXYZ]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:233:19: instantiated from ‘void testNNs(pcl::PointCloud<PointT>&, double, int) [with PointT = pcl::PointXYZ]’
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:255:35: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/include/nnn/nnn.hpp:426:9: error: ‘ROS_WARN’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp: In function ‘bool testclusters(pcl::PointCloud<PointT>&, std::vector<int>&, std::vector<int>&, double, int, std::string, std::string) [with PointT = pcl::PointXYZ, std::string = std::basic_string<char>]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:235:6: instantiated from ‘void testNNs(pcl::PointCloud<PointT>&, double, int) [with PointT = pcl::PointXYZ]’
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:255:35: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:174:10: error: ‘ROS_ERROR’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:181:10: error: ‘ROS_ERROR’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:186:7: error: ‘ROS_ERROR’ was not declared in this scope
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp: In function ‘bool checkcluster(pcl::PointCloud<PointT>&, std::vector<int>&, double, int, std::string) [with PointT = pcl::PointXYZ, std::string = std::basic_string<char>]’:
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:173:7: instantiated from ‘bool testclusters(pcl::PointCloud<PointT>&, std::vector<int>&, std::vector<int>&, double, int, std::string, std::string) [with PointT = pcl::PointXYZ, std::string = std::basic_string<char>]’
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:235:6: instantiated from ‘void testNNs(pcl::PointCloud<PointT>&, double, int) [with PointT = pcl::PointXYZ]’
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:255:35: instantiated from here
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/src/naivetester.cpp:143:13: error: ‘ROS_ERROR’ was not declared in this scope
make[3]: *** [CMakeFiles/simpletest.dir/examples/simpletest.cpp.o] Error 1
make[3]: Leaving directory
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/build'
make[2]: *** [CMakeFiles/simpletest.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/testnaive.dir/src/naivetester.cpp.o] Error 1
make[3]: Leaving directory /home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/build'
make[2]: *** [CMakeFiles/testnaive.dir/all] Error 2
make[2]: Leaving directory
/home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory /home/joe/groovy/sandbox/mit-ros-pkg/trunk/nnn/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package nnn written to:
[ rosmake ] /home/joe/.ros/rosmake/rosmake_output-20130716-164345/nnn/build_output.log
[rosmake-3] Finished <<< nnn [FAIL] [ 7.66 seconds ]
[ rosmake ] Halting due to failure in package nnn.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 55 packages with 4 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/joe/.ros/rosmake/rosmake_output-20130716-164345
Asked by joe.s on 2013-07-16 11:52:27 UTC
Comments