c++安装库
C方式
cmake . #用脚本Makefilelist.txt生成Makefile
make
make install
C++方式
./configure
make
make install # 安装安成后回提示你安装到哪儿了,只有安装到系统路径才可以像这样include <assert.h>
# 查看系统库安装路径
cpp -v
# 这时你要做个link eg:
sudo ln -sv wx-3.1/wx wx
# 这时就可以这么引入了
#include <wx/wx.h>
# g++编译需带`wx-config --cxxflags` `wx-config --libs` flag, for example:
g++ your_code.cpp `wx-config --cxxflags` `wx-config --libs`