Ask Your Question
0

when build gazebo ,how to assign it to include ogre 1.8

asked 2014-05-19 08:23:56 -0500

Zheng yo chen gravatar image

Because I had installed ogre1.8, then, I installed ogre1.9 again.

Now ,when I build gazebo 2.0

It comes to an error

Bad Ogre3d version: gazebo using 1.9.0 ogre version has known bugs in runtime (issue #996). Please use 1.7 or 1.8 series

I don't know how to assign gazebo ogre 1.8

I tried to use cmake-gui to find if there is a name such as "ogre" "path"

but I could not find such name like that.

I also tried to enter:

export OGRE_HOME=/usr/local/ogre1.8

but it still didn't work

Thanks for help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-15 10:36:15 -0500

2ROS0 gravatar image

First build and install the Ogre version you want (1.8 in this case). You can use cmake-gui to specify the install locations. Or if you don't, it will probably go into /usr/lib.

Then make sure the you have the .pc files for Ogre (these files can be used to tell gazebo through cmake modules where to find the Ogre installation). And finally make sure the location of these .pc files is included in the PKG_CONFIG_PATH env variable or set it during your cmake call.

edit flag offensive delete link more

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: 2014-05-19 08:23:56 -0500

Seen: 446 times

Last updated: Mar 15 '16