tufao安装过程出现的问题
程序员文章站
2022-06-25 20:28:08
...
tufao安装过程出现的问题
安装步骤:
1、下载tufao
下载地址:https://github.com/vinipsmaker/tufao/releases
友情提示:1.4.0以及以上的版本在接下来编译时会出错,详见问题三,建议下载1.3.10版本
2、解压安装
tar -zxvf tufao-1.3.10.tar.gz
cd tufao-1.3.10/
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=/usr …
make
sudo make install
问题一:Could not find a package configuration file provided by “Qt5Core”
问题出现:
出现在执行cmake -DCMAKE_INSTALL_PREFIX=/usr … 之后
解决办法:
打开build文件夹下的CPackConfig.cmake,找到Qt5Core_DIR,发现PATH=Not found,按照如下修改,重新执行cmake
//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=/home/ubuntu/Qt5.9.3/5.9.3/gcc_64/lib/cmake/Qt5Core
问题二:Could not find a package configuration file provided by “Qt5Network”
问题出现以及解决办法跟问题一都一样,
//The directory containing a CMake configuration file for Qt5Network.
Qt5Network_DIR:PATH=/home/ubuntu/Qt5.9.3/5.9.3/gcc_64/lib/cmake/Qt5Network
问题三:fatal error: boost/http/reader/request.hpp: No such file or directory
问题截图:
tufao-1.4.0以上的版本都有这个问题,我搞了好久,换成1.3.10版本的就行了
推荐阅读
-
mysql安装时出现各种常见问题的解决方法
-
PHP调用存储过程返回值不一致问题的解决方法分析
-
mysql 5.7.9 winx64在windows上安装遇到的问题
-
安装Mysql5.7.10 winx64出现的几个问题汇总
-
解决Java导入excel大量数据出现内存溢出的问题
-
兼容iOS 10 升级xcode8出现的问题及一些适配问题的解决方案
-
iOS 开发中 NavigationController经常出现的问题原因分析
-
mysql 数据同步 出现Slave_IO_Running:No问题的解决方法小结
-
阿里云主机上安装jdk 某库出现问题的解决方法
-
解决苹果ios用js的Date()出现NaN的问题