Created
October 19, 2011 23:52
-
-
Save wjwwood/1300026 to your computer and use it in GitHub Desktop.
Error building kdl_parser and collada_urdf in robot_model on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
∫ make | |
mkdir -p bin | |
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake .. | |
[rosbuild] Building package kdl_parser | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/rospy/cmake/rospy.cmake | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake | |
-- Configuring done | |
-- Generating done | |
CMake Warning: | |
Manually-specified variables were not used by the project: | |
CMAKE_TOOLCHAIN_FILE | |
-- Build files have been written to: /Users/william/ros/robot_model/kdl_parser/build | |
cd build && make | |
[ 0%] Built target rospack_genmsg_libexe | |
[ 0%] Built target rosbuild_precompile | |
[ 50%] Building CXX object CMakeFiles/kdl_parser.dir/src/kdl_parser.o | |
Linking CXX shared library ../lib/libkdl_parser.dylib | |
Undefined symbols for architecture x86_64: | |
"TiXmlDocument::TiXmlDocument()", referenced from: | |
kdl_parser::treeFromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
kdl_parser::treeFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
"TiXmlDocument::Parse(char const*, TiXmlParsingData*, TiXmlEncoding)", referenced from: | |
kdl_parser::treeFromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
"vtable for TiXmlDocument", referenced from: | |
kdl_parser::treeFromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
kdl_parser::treeFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
"TiXmlNode::~TiXmlNode()", referenced from: | |
kdl_parser::treeFromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
kdl_parser::treeFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
"TiXmlDocument::LoadFile(char const*, TiXmlEncoding)", referenced from: | |
kdl_parser::treeFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, KDL::Tree&)in kdl_parser.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
make[3]: *** [../lib/libkdl_parser.dylib] Error 1 | |
make[2]: *** [CMakeFiles/kdl_parser.dir/all] Error 2 | |
make[1]: *** [all] Error 2 | |
make: *** [all] Error 2 | |
william@Williams-MacBook-Pro:~/ros/robot_model/kdl_parser | |
∫ roscd collada_urdf/ | |
william@Williams-MacBook-Pro:~/ros/robot_model/collada_urdf | |
∫ make | |
mkdir -p bin | |
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake .. | |
[rosbuild] Building package collada_urdf | |
[rosbuild] Cached build flags older than manifests; calling rospack to get flags | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/rospy/cmake/rospy.cmake | |
[rosbuild] Including /Users/william/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake | |
-- Configuring done | |
-- Generating done | |
CMake Warning: | |
Manually-specified variables were not used by the project: | |
CMAKE_TOOLCHAIN_FILE | |
-- Build files have been written to: /Users/william/ros/robot_model/collada_urdf/build | |
cd build && make | |
Scanning dependencies of target rospack_genmsg_libexe | |
[ 0%] Built target rospack_genmsg_libexe | |
Scanning dependencies of target rosbuild_precompile | |
[ 0%] Built target rosbuild_precompile | |
Scanning dependencies of target collada_urdf | |
[ 50%] Building CXX object CMakeFiles/collada_urdf.dir/src/collada_urdf.o | |
Linking CXX shared library ../lib/libcollada_urdf.dylib | |
Undefined symbols for architecture x86_64: | |
"TiXmlDocument::TiXmlDocument()", referenced from: | |
collada_urdf::colladaFromUrdfString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
collada_urdf::colladaFromUrdfFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
"TiXmlDocument::Parse(char const*, TiXmlParsingData*, TiXmlEncoding)", referenced from: | |
collada_urdf::colladaFromUrdfString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
"vtable for TiXmlDocument", referenced from: | |
collada_urdf::colladaFromUrdfString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
collada_urdf::colladaFromUrdfFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
"TiXmlNode::~TiXmlNode()", referenced from: | |
collada_urdf::colladaFromUrdfString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
collada_urdf::colladaFromUrdfFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
"TiXmlDocument::LoadFile(char const*, TiXmlEncoding)", referenced from: | |
collada_urdf::colladaFromUrdfFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<DAE>&)in collada_urdf.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
make[3]: *** [../lib/libcollada_urdf.dylib] Error 1 | |
make[2]: *** [CMakeFiles/collada_urdf.dir/all] Error 2 | |
make[1]: *** [all] Error 2 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment