Ask Your Question
0

Groovy Installation - "Failed to process package 'tf2_ros'" in "catkin_make_isolated" - MacBook OSX

asked 2013-06-02 16:23:25 -0600

jjameson18 gravatar image

updated 2014-01-28 17:16:44 -0600

ngrennan gravatar image

After resolving the dependencies in the installation of groovy on a MacBook Pro with OS 10.8.3, I input the command

./src/catkin/bin/catkin_make_isolated --install

This command executes several installations, but fails when trying to trying to process the "tf2_ros" package. The first error that I see is the "undefined symbols for architecture x86_64":

==> Processing catkin package: 'tf2_ros'
==> Building with env: '/Users/jjameson/ros_catkin_ws/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/Users/jjameson/ros_catkin_ws/build_isolated/tf2_ros'
==> make -j4 -l4 in '/Users/jjameson/ros_catkin_ws/build_isolated/tf2_ros'
Linking CXX shared library /Users/jjameson/ros_catkin_ws/devel_isolated/tf2_ros/lib/libtf2_ros.dylib
Undefined symbols for architecture x86_64:

This is the last few lines before the installation exits.

typeinfo for boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, actionlib::SimpleActionClient<tf2_msgs::LookupTransformAction_<std::allocator<void> > > >, boost::_bi::value<actionlib::SimpleActionClient<tf2_msgs::LookupTransformAction_<std::allocator<void>> >*> > > > in buffer_client.cpp.o
  "vtable for boost::detail::thread_data_base", referenced from:
     boost::detail::thread_data_base::thread_data_base() in transform_listener.cpp.o
     boost::detail::thread_data_base::thread_data_base() in buffer_client.cpp.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[2]: *** [/Users/jjameson/ros_catkin_ws/devel_isolated/tf2_ros/lib/libtf2_ros.dylib] Error 1
make[1]: *** [CMakeFiles/tf2_ros.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
  File "./src/catkin/bin/../python/catkin/builder.py", line 658, in build_workspace_isolated
    number=index + 1, of=len(ordered_packages)
  File "./src/catkin/bin/../python/catkin/builder.py", line 443, in build_package
    install, jobs, force_cmake, quiet, last_env, cmake_args, make_args
  File "./src/catkin/bin/../python/catkin/builder.py", line 297, in build_catkin_package
    run_command(make_cmd, build_dir, quiet)
  File "./src/catkin/bin/../python/catkin/builder.py", line 186, in run_command
    raise subprocess.CalledProcessError(proc.returncode, ' '.join(cmd))
CalledProcessError: Command '/Users/jjameson/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2
<== Failed to process package 'tf2_ros': 
  Command '/Users/jjameson/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running:
==> /Users/jjameson/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

Command failed, exiting.

So I then input the command to reproduce the error

/Users/jjameson/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

And the output for this command is

make: *** No targets specified and no makefile found.  Stop.

I'm honestly getting a little lost in the code here and not really sure where to go. Thanks for any help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-06-02 20:51:41 -0600

Hansg91 gravatar image

updated 2013-06-02 20:52:51 -0600

Check out this page.

(Not sure if this is what you need)

edit flag offensive delete link more

Comments

Yes, the command that is initially used, "./src/catkin/bin/catkin_make_isolated --install", is the first in section 2.1.3. My installation is getting held up when the "tf2_ros" package is being processed during this command.

jjameson18 gravatar imagejjameson18 ( 2013-06-03 01:49:15 -0600 )edit
1
Hansg91 gravatar imageHansg91 ( 2013-06-03 05:35:46 -0600 )edit

Haha, well I guess the answer was right in front of my face... Thanks for the help.

jjameson18 gravatar imagejjameson18 ( 2013-06-03 06:33:06 -0600 )edit

No problem :)

Hansg91 gravatar imageHansg91 ( 2013-06-04 01:42:32 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-02 16:23:25 -0600

Seen: 629 times

Last updated: Jun 03 '13