Ask Your Question
0

Fails to build ogre on OS X 10.9.2

asked 2014-05-08 20:07:30 -0500

sakotturi gravatar image

updated 2014-05-09 07:51:12 -0500

William gravatar image

I'm trying to build step 2.1.2 from here: http://wiki.ros.org/hydro/Installatio...

I've run: rosdep install --from-paths src --ignore-src --rosdistro hydro -y to the point where it tried to install gazebo and a dependency, ogre. The ogre build is failing, claiming it can't find freetype. I've added a symlink as described on stackoverflow but then removed it as I should probably just brew link to get everything linked up. Using brew unlink && brew link doesn't fix my issue.

Here is my gist for ROS: https://gist.github.com/skotturi/42c2...

Here is my gist for when I brew install -v ogre : https://gist.github.com/skotturi/108f...

Any advice would be greatly appreciated, this thread suggested using a different version of freetype: https://github.com/Homebrew/homebrew-...

Thanks in advance!

edit retag flag offensive close merge delete

Comments

I installed matplotlib on this machine a couple weeks ago and came across that same thread :( I tried removing the symlink to x11: `sudo rm /opt/x11/include/freetype2` and then I tried building with the --HEAD version: `brew install -v ogre --HEAD` This built in 26 minutes.

sakotturi gravatar image sakotturi  ( 2014-05-11 19:04:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-12 15:16:27 -0500

sakotturi gravatar image

updated 2014-05-12 15:17:14 -0500

For mac users who have x11 installed, x11 comes with freetype and can cause some issues (not sure if this always happens or just in some cases). Especially if you do some symlinking to get python things to build.

I made sure to remove: sudo rm /usr/local/include/freetype and : sudo rm /opt/x11/include/freetype2 NB: I haven't tested anything in x11 yet to see if this broke anything.

Then I built with the HEAD build of ogre using: brew install -v ogre --HEAD It successfully built in 26 minutes (so give it some time)

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

1 follower

Stats

Asked: 2014-05-08 20:07:30 -0500

Seen: 309 times

Last updated: May 12 '14