Mp4box安装

(1) glut 库编译
下载 http://www.opengl.org/resources/libraries/glut/glut_downloads.php
编译过程过程参考:./linux/README 
注意./linux/Makefile中的m486替换为mtune=i486
执行下面的命令

cp Glut.cf Glut.cf.bak;
cp ./linux/Glut.cf ./;
./mkmkfiles.imake;
cd lib/glut;
cp Makefile Makefile.bak;
cp http://www.cnblogs.com/linux/Makefile ./;
make;
ar cr ./libglut.a ./*.o;

(2) Mp4box编译
GPAC :	http://sourceforge.net/projects/gpac/files/GPAC/
GPAC extra libs: http://sourceforge.net/projects/gpac/files/GPAC%20extra%20libs/

编译:如果找不到libglut.a,则需要把这个文件放到合适的目录
tar zxvf gpac-0.4.5.tar.gz;
tar zxvf gpac_extra_libs-0.4.5.tar.gz;
cd gpac;
cp -r ../gpac_extra_libs/* extra_lib/;
chmod +x configure;
./configure;
make lib;
make apps;
make install;

posted on 2012-01-23 18:18  李玉龙  阅读(649)  评论(0编辑  收藏  举报

导航