如何使用CMake构建DCMTK项目文件?

问题描述:

我正在尝试使用CMake gui构建DCMTK项目文件,所以我可以在Qt中使用它。不幸的是,我仍然遇到一些错误。我读过许多相关主题(如How to use Dcmtk in Qt?),但我不能找到一个解决方案来解决我的错误:如何使用CMake构建DCMTK项目文件?

enter image description here

输出CMakeError.log:

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. 
Compiler: 
Build flags: 
Id flags: 

The output was: 
The system cannot find the file specified 

输出CMakeOutput。日志:

The system is: Windows - 6.1.7601 - AMD64 
+1

也许先尝试稳定版本的CMake。 – usr1234567

原来,成为CMake RC版本的一部分。我安装了像你告诉我的稳定版本,问题消失了。谢谢!