问题1、
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
解决方案
sudo apt-get install doxygen
问题2、
Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components: doxygen missing components: dot
解决方案:
sudo apt install libclang1-9
问题3、
CMake Error at build/_deps/aubo_caps_interface-src/aubo_caps++/CMakeLists.txt:8 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of
the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
解决方案
git status
git fetch origin
mkdir build && cd build
cmake ..
make -j`nproc` package
问题4、
zsh: corrupt history file /root/.zsh_history
解决方法
mv .zsh_history .zsh_history_bad #移动.zsh_history文件至.zsh_history_bad (这里是指重命名)
strings .zsh_history_bad > .zsh_history #strings 命令,输出.zsh_history_bad文件中的字符至.zsh_history中
问题5、
root用户登陆问题,参考网址
cpp文件和h文件的差别