使用cmake在fedora18编译ogre3d 1.8
1.更新开发工具包
sudo yum groupinstall "Development Tools"
2.源
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
3.安装必要的包
sudo yum install zziplib-devel libXt-devel libXaw-devel libXxf86vm-devel xorg-x11-fonts-misc freeimage-devel freetype-devel ois-devel cegui-devel Cg
4.编译
mkdir build(可选)
cd build
cmake ..(如果不建build目录,就cmake .)
make -j2(j2是cpu核数)
make install(可能需要sudo)