CMakeLists.txt не работает для сборки Xerces C ++ - PullRequest
0 голосов
/ 02 апреля 2020

Невозможно собрать Xerces C ++ для windows

Я использовал CMake GUI, выбрал Visual C 15 2017, выбрал root взорванных xerces, где CMakeLists.txt, но выглядит как некоторые файлы отсутствуют в xerces zip.

Это вывод команды cmake

I've followed <http://xerces.apache.org/xerces-c/install-3.html> but the CMakeLists.txt does not work with cmake for windows.

I've tried the VC 15 2017

Configuring Apache Xerces-C++ version 3.2.2
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
The following ICU libraries were not found:
uc (required)
data (required)
Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND) 
CMake Error at src/CMakeLists.txt:47 (file):
file STRINGS file "C:/Tools/C++/xerces-c-3.2.2/src/configure.ac"cannot be
read.

CMake Error at src/CMakeLists.txt:53 (file):
file STRINGS file "C:/Tools/C++/xerces-c-3.2.2/src/configure.ac" cannot be
read.

CMake Error at src/CMakeLists.txt:59 (file):
file STRINGS file "C:/Tools/C++/xerces-c-3.2.2/src/configure.ac" cannot be
read.

Configuring Apache Xerces-C++ version GRAMMAR_SERIALIZATION_LEVEL=7
CMake Error at src/CMakeLists.txt:69 (project):
VERSION "GRAMMAR_SERIALIZATION_LEVEL=7" format invalid.

Configuring incomplete, errors occurred!
See also "C:/Tools/C++/xerces-c-3.2.2/bin/CMakeFiles/CMakeOutput.log".
See also "C:/Tools/C++/xerces-c-3.2.2/bin/CMakeFiles/CMakeError.log".
...