0

当我尝试在 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 上——但我真的不明白这里出了什么问题……

4

1 回答 1

0

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

于 2013-08-27T07:08:21.760 回答