制作 curlpp 时出错

Error while cmaking curlpp

我正在尝试 cmake curlpp using Cmake version 3.4.1 and I get an error in cmake saying: " Error in configuration process [...]". So all I did is in cmake-gui open the curlpp source (version 0.7.3), selected the destination folder and chose mingw. Here is the output in the gui http://pastebin.com/1gKyqd32

提示配置不完整,出现错误! 另见 "C:/c++/libraries/curlpp_built/CMakeFiles/CMakeOutput.log"。 CMakeOutput.log

我正确设置了 CMake,我可以编译 glfw 库。

引用输出的相关部分

CMake Error at src/utilspp/CMakeLists.txt:4 (add_subdirectory):
add_subdirectory given source "singleton" which is not an existing
directory.

src/utilspp 中的项目 CMakeLists.txt 已损坏。

该错误已在 curlpp 的问题跟踪器中报告:
https://github.com/jpbarrette/curlpp/issues/7

您可以通过从 src/utilspp/CMakeLists.txt 中删除第 4 行来解决此错误,它应该包含类似 add_subdirectory(singleton) 的内容。如果幸运的话,一切正常;但可能会弹出其他错误。