Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

thank you very much, your answer solved that problem! unfortunately I still had other problems while running rosmake.

I struggled to solve most of them, so I got everything built except one thing: [rosmake-2] Finished <<< image_transport [FAIL] [ 3.10 seconds ]
[ rosmake ] Halting due to failure in package image_transport. [ rosmake ] Waiting for other threads to complete.
[rosmake-1] Finished <<< tf [PASS] [ 5.40 seconds ]
[rosmake-0] Finished <<< nodelet [PASS] [ 3.44 seconds ]
[rosmake-3] Finished <<< dynamic_reconfigure [PASS] [ 5.24 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 33 packages with 1 failures.
[ rosmake ] Summary output to directory

At leas I understand that only image_transport has failed. The image_transport log is:

mkdir -p bin

cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake

..

[rosbuild] Building package image_transport

[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake

[rosbuild] Including /opt/ros/fuerte/share/common-lisp/ros/roslisp/rosbuild/roslisp.cmake

[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake

WARN, found multiple boost versions '[(1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True)]', using latestWARN, found multiple boost versions '[(1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True)]', using latest-- 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/tiagoribeiro/ros/image_common/image_transport/build cd build && make -l4

[ 0%] Built target rospack_genmsg_libexe

[ 0%] Built target rosbuild_precompile

Linking CXX shared library ../lib/libimage_transport.dylib

clang: warning: argument unused during compilation: '-pthread'

ld: warning: ignoring file /usr/lib/libtinyxml.dylib, missing required architecture x86_64 in file /usr/lib/libtinyxml.dylib (2 slices)

Undefined symbols for architecture x86_64:

"TiXmlDocument::LoadFile(char const*, TiXmlEncoding)", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlDocument::TiXmlDocument()", referenced from:

pluginlib::ClassLoader<image_transport::subscriberplugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlNode::~TiXmlNode()", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

 TiXmlDocument::~TiXmlDocument() in image_transport.o

  TiXmlDocument::~TiXmlDocument() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlElement::GetText() const", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlElement::Attribute(char const*) const", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlNode::FirstChildElement(char const*) const", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlNode::FirstChildElement() const", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"TiXmlNode::NextSiblingElement(char const*) const", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

"vtable for TiXmlDocument", referenced from:

  pluginlib::ClassLoader<image_transport::SubscriberPlugin>::determineAvailableClasses() in image_transport.o

  TiXmlDocument::~TiXmlDocument() in image_transport.o

  TiXmlDocument::~TiXmlDocument() in image_transport.o

  pluginlib::ClassLoader<image_transport::PublisherPlugin>::determineAvailableClasses() in image_transport.o

NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[3]: * [../lib/libimage_transport.dylib] Error 1

make[2]: * [CMakeFiles/image_transport.dir/all] Error 2

make[1]: * [all] Error 2

make: * [all] Error 2

i have already installed the libtinyxml because it initially said it couldn't find it.

Tiago-Ribeiros-MacBook-Pro:ros tiagoribeiro$ brew install tinyxml

Warning: It appears you have MacPorts or Fink installed.

Software installed with other package managers causes known problems for

Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

Error: tinyxml-2.6.2 already installed

Now I've tried several things but I don't understand how to solve this error. Did you also encounter this?

I think that ros is working anyway right? is this module needed only for image processing packages?

Big Thanks again!