【问题标题】:Cannot generate build files for MySQL Connector/C 6.0.2 with CMake 2.8.10.2无法使用 CMake 2.8.10.2 为 MySQL Connector/C 6.0.2 生成构建文件
【发布时间】:2013-02-14 12:10:47
【问题描述】:

当我尝试在 Windows 7 x64 上使用 CMake 2.8.10.2 为 MySQL Connector/C 6.0.2 生成 Visual Studio 2010 构建文件时,出现以下两个错误。

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CPack.cmake:395 (message):
  CPack package description file: "README" could not be found.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CPack.cmake:399 (cpack_check_file_exists)
  CMakeLists.txt:371 (INCLUDE)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CPack.cmake:395 (message):
  CPack license resource file: "LICENSE.mysql" could not be found.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CPack.cmake:400 (cpack_check_file_exists)
  CMakeLists.txt:371 (INCLUDE)

在我看来问题出在 CPack 上 - 但我真的不明白这里出了什么问题...

【问题讨论】:

    标签: mysql build cmake mysql-connector cpack


    【解决方案1】:

    我在外部目录中构建它时遇到了同样的问题。在我将它构建回 MySQL Connector/C 6.0.2 文件夹后,问题就消失了

    【讨论】:

      猜你喜欢
      • 2021-10-24
      • 1970-01-01
      • 2020-09-12
      • 2015-03-26
      • 1970-01-01
      • 2017-12-11
      • 1970-01-01
      • 2018-08-18
      • 2020-04-13
      相关资源
      最近更新 更多