安装codeblocks17.12

安装文件是:
https://nchc.dl.sourceforge.net/project/codeblocks/Binaries/17.12/Linux/Debian stable/codeblocks_17.12-1_amd64_stable.tar.xz

安装办法:
1.dpkg -i libhunspell-1.4-0_1.4.1-2_amd64.deb

2.编辑/etc/apt/sources.list加入:
deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
apt update
然后安装
libboost-system1.62.0
libboost-system1.62-dev

解压这个tar.xz结尾的安装文件以后:
dpkg -i *.deb

这个软件从17年就开始停止更新了,即使安装最新17.12版也还是会有如下报错:
Manager failed to load XRC resource ‘/usr/share/codeblocks/CppCheck.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/DoxyBlocks.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/wxSmithAui.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/Cscope.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/EditorConfig.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/headerfixup.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/Valgrind.zip’.
Tools Plus Plugin: Registering shell type Piped Process Control
Manager failed to load XRC resource ‘/usr/share/codeblocks/ToolsPlus.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/ThreadSearch.zip’.
Manager failed to load XRC resource ‘/usr/share/codeblocks/Cccc.zip’.

补:
上面的问题怎么解决呢?
以CppCheck.zip为例:
apt install cppcheck
然后,启动时的报错是依旧的,但是在进行C/C++工程开发的时候,可以选择CppCheck功能,可以正常使用.
上述的其他报错还没研究过.

弃坑,不再使用这个软件.

你可能感兴趣的:(CodeBlocks)