1,下载oce
oce stands for *o*pencascade *c*ommunity *e*dition.
git clone git://github.com/tpaviot/oce.git --depth=1
2,安装cmake和ftgl
ftgl 使用 Freetype 在 OpenGL应用程序中渲染字体。
sudo port install cmake sudo port install ftgl
3,编译
cd oce mkdir build cd build cmake .. make sudo make install/strip