Ask Your Question
0

rviz installation issues on 64bit snow-leopard using ROS Diamondback

asked Feb 25 '11

Sagnik gravatar image Sagnik
134 6 12

updated Mar 16

Kevin gravatar image Kevin flag of United States
933 3 14 31
https://github.com/walchk...

I am trying to install rviz on ROS Diamondback (on a 64 bit Mac Snowleopard). I get this link error related to Ogre::Rectancle2D when I run,

"rosmake rviz"

Error mesg:

Undefined symbols:

"Ogre::Rectangle2D::Rectangle2D(bool)", referenced from: rviz::SelectionManager::initialize() in selection_manager.o

Any idea why it cant find the Rectangle2D symbol (specifically) in Ogre ?

When I comment all the occurrences of Rectangle2D (jus to see it build completely! ) and run it using,

"rosrun rviz rviz"

It complains that it cant find the Ogre library.

Error msg:

dyld: Library not loaded: @executable_path/../Frameworks/Ogre.framework/Versions/1.7.2/Ogre

I have built Ogre 1.7.2 manually (as the 1.7.1 version which comes with ROS does not build on 64 bit).

Can anyone tell me where exactly do I need to put the Ogre libraries for rviz to work ?

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered Feb 25 '11

joq gravatar image joq
7304 29 68 133
http://www.austinrobot.co...

updated Feb 28 '11

Since rviz depends on the ogre ROS package, the libraries and headers need to be there.

Have you tried building the ogre package with 1.7.2 instead? If it can be done, that should work.

This sounds like a bug to me, worth opening a defect ticket on the Ogre version.

Also, I am not able to understand what exactly you mean by,

    Have you tried building the ogre package with 1.7.2 instead ?

I have manually built OGRE 1.7.2 as the default version which comes with ROS 
Diamondback is 1.7.1 and does not build on Mac Snowleopard 64 bit.

I was hoping you could fix the ROS ogre package to use 1.7.2 instead. Building it manually does not help. We need a solution that works for all 64-bit OSX users.

You probably don't know how to do that, so please open up a ticket so the package maintainers will know about this problem. They should be able to fix it for you.

link delete flag offensive edit
0

answered Feb 28 '11

Sagnik gravatar image Sagnik
134 6 12

updated Feb 28 '11

Thank you for replying to my question.

I understand that rviz depends on OGRE. Usually, rosmake build OGRE (as it is a dependency) and puts the dylib in the required folder. As I have manually built OGRE, I am not able to figure out where exactly the OGRE libs go ? Do you, by any chance, happen to know that ?

Also, I am not able to understand what exactly you mean by,

Have you tried building the ogre package with 1.7.2 instead ?

I have manually built OGRE 1.7.2 as the default version which comes with ROS Diamondback is 1.7.1 and does not build on Mac Snowleopard 64 bit.

Thanks, Sagnik

link delete flag offensive edit

Comments

When you have further questions, please do not post them as an "answer". You should edit the original question, instead. joq (Feb 28 '11)edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 25 '11

Seen: 261 times

Last updated: Feb 28 '11