欢迎来到冰川冰盖数值模拟的小家庭。本文在原文参照的情况下归纳了安装时出现的问题及相应解决方法,作为小白在经历了重装了好几次Ubuntu之后终于安装成功了,根据安装中出现的问题总结如下,可能不太全面但是也应该有帮助。
1、整体原文参照:https://blog.csdn.net/weixin_38672958/article/details/102454322
2、首先进行更新:sudo apt-get update
3、安装cmake-qt-gui:sudo apt-get install cmake-qt-gui
参考:http://blog.sina.com.cn/s/blog_9248171a0102x7n6.html
4、CMake编译时出现的错误:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QWT_INCLUDE_DIR
解决:sudo apt-get install libqwt-dev
参考:https://blog.csdn.net/durongze/article/details/80698622
5、安装程序:
Ctrl+L复制路径
cd到复制路径下,输入:make install
若未成功再输入:sudo make install
参考:https://blog.csdn.net/nidie508/article/details/104572009