rhel6.0 搭建工作环境

os:redhat enterprice 6.0 x64

gcc:4.8.2(需要编译安装)

1.编译wxwidgets2.8

可能先要安装opengl的development头文件和库:

yum install mesa-libGL

yum install mesa-libGL-devel

yum install mesa-libGLU

yum install mesa-libGLU-devel

release版:

(1)mkdir build_release

(2)cd build_release

(3)../configure --with-gtk --with-opengl --disable-shared --enable-unicode

(4)make

debug版:

../configure --with-gtk --with-opengl --disable-shared --enable-unicode --enable-debug(其余步骤略)

2.编译boost1.55

./bjam -sTOOLS=gcc stage --without-graph --without-graph_parallel --without-math --without-mpi --without-serialization --without-wave --without-atomic --without-chrono --without-random --without-regex --without-test --without-thread --without-program_options --without-serialization --without-signals --stagedir=./bin link=static runtime-link=shared threading=multi

posted @ 2014-02-25 17:18  Run.L  阅读(322)  评论(0)    收藏  举报