wxWidgets编译安装

安装基本函数库

sudo apt-get install build-essential

 

安装OpenGL Library:

sudo apt-get install libgl1-mesa-dev

 

安装OpenGL Utilities:

sudo apt-get install libglu1-mesa-dev

 

安装OpenGL Utility Toolkit:

sudo apt-get install freeglut3-dev


安装gtk:

sudo apt-get install libgtk2.0-dev checkinstall


编译:

cd wxWidgets-3.1.2

mkdir gtk-build && cd gtk-build

../configure --enable-shared --enable-unicode --build=x86_64-pc-linux-gnu

make -j4 SHARED=1 MONOLITHIC=0 UNICODE=1 USE_OPENGL=1 BUILD=release

sudo make install

 

posted @ 2017-04-28 20:24  pry_up  阅读(479)  评论(0编辑  收藏  举报