Ubuntu 16.04上安装Code::Blocks

sudo add-apt-repository ppa:damien-moore/codeblocks-stable

sudo apt update
sudo apt install codeblocks

安装编译器:

sudo apt install gcc
sudo apt install clang

如果要在Linux上编译本机Windows二进制文件,则可以安装mingw-w64软件包。

sudo apt install mingw-w64

通过设置>编译器>全局编译器设置来选择默认编译器Settings > Compiler > Global Compiler。

设置include/lib

Settings/Compiler/Search directories/Compiler

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/82048982
今日推荐