0
$\begingroup$

Rosanswers logo

Building rviz on osx i have encountered another problem

[ 61%] 1 warning generated. Building CXX object src/rviz/CMakeFiles/rviz.dir/moc_tool_properties_panel.cxx.o Linking CXX shared library /Users/tatsch/ros_catkin_ws/devel_isolated/rviz/lib/librviz.dylib ld: library not found for -lOgreMain clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/tatsch/ros_catkin_ws/devel_isolated/rviz/lib/librviz.dylib] Error 1 make[1]: *** [src/rviz/CMakeFiles/rviz.dir/all] Error 2 make: *** [all] Error 2

<== Failed to process package 'rviz': KeyboardInterrupt Command failed, exiting.

I found in the ogre forum that this seems to be one of the usual quirks about OS X. The solution could be to use -framework Ogre instead of -lOgreMain, but where would i have to apply that?


Originally posted by J.M.T. on ROS Answers with karma: 266 on 2013-01-16

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Make sure you have the latest version of Ogre installed from our repo.

brew remove ogre
brew update
(ros/groovy/ogre should update)
brew install ogre
(or you can do rosdep again)

Originally posted by WilliamWoodall with karma: 1626 on 2013-01-17

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.