CentOS 6.5 CodeBlocks::wxWidgets安装与配置

第一步, #yum install  codeblocks codeblocks-contrib codeblocks-devel

第二步,到官方下载源码包,我下的是wxX11的3.0版的。

#tar ***.tar.gz 

#./configure

#make && make install

安装完毕!

新建project后在code blocks中设置project>builder options:

Compiler settings >> Other options中. 加入`wx-config --cxxflags`

Linker options >> Other linker options中.加入`wx-config --libs`

原文地址:https://www.cnblogs.com/jinacookies/p/3795686.html