Ubuntu下16.04下安装Code::Blocks IDE 16.01

失败1:先安装了Ubuntu软件商店里自带的Code::Blocks,可以编译但不能运行,设置项打开之后也是一片空白。

失败2:参考他人博客,通过三个命令行安装

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

sudo apt-get update

sudo apt-get install codeblocks

也出现不能运行的状况,提示:it seems thhis file has not been built yet.没找到解决方案。

最后试了一个很麻烦的方法,但是安装后可以编译运行:

先贴上原文链接:ubuntu 16.04LTS 下Code::Blocks 16.01 安装

命令如下:

sudo apt-get install build-essential    //将此PPA添加到系统中

sudo apt-get install gdb

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

sudo apt-get update

sudo apt-get install codeblocks

sudo apt-get install codeblocks-dbg

sudo apt-get install codeblocks-contrib

sudo apt-get install valgrind-dbg

sudo apt-get install libwxbase3.0

sudo apt-get install libwxbase3.0-dev

sudo apt-get install libwxgtk3.0-0

sudo apt-get install libwxgtk3.0-dev

sudo apt-get install wx-common

sudo apt-get install wx3.0-headers

sudo apt-get install wx3.0-i18n

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容