Skip to content

Instantly share code, notes, and snippets.

@wjwwood
Created February 3, 2011 13:59
Show Gist options
  • Save wjwwood/809500 to your computer and use it in GitHub Desktop.
Save wjwwood/809500 to your computer and use it in GitHub Desktop.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package pluginlib
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/<username>/ros/diamondback/common/pluginlib/build
cd build && make -l4
[ 0%] Built target rospack_genmsg_libexe
[ 0%] Built target rosbuild_precompile
[ 3%] Built target boost_fs_wrapper
[ 96%] Built target poco_lite
Linking CXX shared library ../lib/libtest_plugins.dylib
Undefined symbols:
"typeinfo for Poco::ManifestBase", referenced from:
typeinfo for Poco::Manifest<test_base::Fubar>in test_plugins.o
"Poco::InvalidAccessException::~InvalidAccessException()", referenced from:
Poco::MetaObject<test_plugins::Foo, test_base::Fubar>::instance() const in test_plugins.o
Poco::MetaObject<test_plugins::Bar, test_base::Fubar>::instance() const in test_plugins.o
"typeinfo for Poco::InvalidAccessException", referenced from:
Poco::MetaObject<test_plugins::Foo, test_base::Fubar>::instance() const in test_plugins.o
Poco::MetaObject<test_plugins::Bar, test_base::Fubar>::instance() const in test_plugins.o
"Poco::InvalidAccessException::InvalidAccessException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)", referenced from:
Poco::MetaObject<test_plugins::Foo, test_base::Fubar>::instance() const in test_plugins.o
Poco::MetaObject<test_plugins::Bar, test_base::Fubar>::instance() const in test_plugins.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [../lib/libtest_plugins.dylib] Error 1
make[2]: *** [CMakeFiles/test_plugins.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