Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2179|回复: 0
打印 上一主题 下一主题

ews-qt

[复制链接]

165

主题

269

帖子

957

积分

认证用户组

Rank: 5Rank: 5

积分
957
跳转到指定楼层
楼主
发表于 2017-9-30 17:22:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 firemail 于 2017-9-30 18:13 编辑

https://github.com/hechengjin/ews-qt


mkdir build

cd build

cmake ..

  1. CMake Error at CMakeLists.txt:10 (find_package):
  2.   By not providing "FindKDSoap.cmake" in CMAKE_MODULE_PATH this project has
  3.   asked CMake to find a package configuration file provided by "KDSoap", but
  4.   CMake did not find one.

  5.   Could not find a package configuration file provided by "KDSoap" with any
  6.   of the following names:

  7.     KDSoapConfig.cmake
  8.     kdsoap-config.cmake

  9.   Add the installation prefix of "KDSoap" to CMAKE_PREFIX_PATH or set
  10.   "KDSoap_DIR" to a directory containing one of the above files.  If "KDSoap"
  11.   provides a separate development package or SDK, be sure it has been
  12.   installed.


  13. -- Configuring incomplete, errors occurred!
  14. See also "/home/hechengjin/gitProjects/FM/ews-qt/build/CMakeFiles/CMakeOutput.log".
复制代码
CMAKE_PREFIX_PATH=xxxx/KDSoap/build/KDSoap cmake ..

make
KDSoapClient/KDSoapValue.h: 没有那个文件或目录
修改CMakeLists.txt文件增加KDSoap的头文件路径即可(通过include_directories添加)
编译完成后会生成 libews-qt5.so.0.0.0 文件



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-5-2 02:15 , Processed in 0.057476 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表