ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ogre build fails with freetype.h error, OS X 10.8, Hydro

asked 2014-04-28 05:53:00 -0500

karthik_ms gravatar image

updated 2014-04-28 05:53:24 -0500

While trying to install Hydro on OS X 10.8, with XCode 5.0.2, installing ogre through brew install ogre fails with an freetype.h not found error.

/tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/src/OgreFont.cpp:44:10: fatal error: 'freetype.h' file not found
#include FT_FREETYPE_H
         ^
/usr/local/include/freetype/config/ftheader.h:173:24: note: expanded from macro 'FT_FREETYPE_H'
#define FT_FREETYPE_H  <freetype.h>

I have the following symbolic links in my machine for freetype.

ln -s /usr/local/Cellar/freetype/2.5.3_1/include/freetype2 /opt/x11/include/freetype2
ln -s /usr/local/Cellar/freetype/2.5.3_1/include/freetype2 /usr/local/include/freetype

The complete error stream is gisted here : https://gist.github.com/karthikkovala...

I am not sure if I have all the symbolic links properly set. Kindly help me with this issue.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-04-28 07:57:30 -0500

William gravatar image

I think this is related:

https://github.com/osrf/homebrew-simu...

Basically if you use the symbolic link to get one of the Python package's to install, then ogre will not work.

edit flag offensive delete link more

Comments

That perfectly worked. Thanks.

karthik_ms gravatar image karthik_ms  ( 2014-04-28 10:45:57 -0500 )edit

Hi! I am trying to install ROS Hydro on my MAC 10.8.5. Can you please outline the steps which you carried out to install ogre? I have been stuck here for a while and can't seem to find a way out. Thanks.

Arjav gravatar image Arjav  ( 2014-06-19 12:46:40 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-28 05:53:00 -0500

Seen: 487 times

Last updated: Apr 28 '14