博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
DCMTK3.6.0(MD支持库)安装过程中通过CMake编译时出现的问题
阅读量:6315 次
发布时间:2019-06-22

本文共 1854 字,大约阅读时间需要 6 分钟。

  hot3.png

错误如下:

091459_IFrA_2650669.png

点击Configure出现错误弹窗

091636_eqbQ_2650669.png

Check for working C compiler using: Visual Studio 10 Win64

Check for working C compiler using: Visual Studio 10 Win64 -- broken

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler "cl" is not able to compile a simple test program.

 

It fails with the following output:

 

Change Dir: C:/DCMTK/dcmtk-bin/CMakeFiles/CMakeTmp

 

 

 

Run Build Command:C:\Program Files (x86)\MICROS~3.0\Common7\IDE\devenv.com

CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1469790464

 

 

 

Microsoft(R) Visual Studio 10.0.30319.1 °æ¡£

 

°æȨËùÓÐ(C) Microsoft Corp¡£±£ÁôËùÓÐȨÀû¡£

 

1>------ ÒÑÆô¶¯Éú³É: ÏîÄ¿: cmTryCompileExec1469790464, ÅäÖÃ: Debug x64

------

 

1>Éú³ÉÆô¶¯Ê±¼äΪ 2016/11/22 9:05:38¡£

 

1>InitializeBuildStatus:

 

1>

ÕýÔÚ´´½¨¡°cmTryCompileExec1469790464.dir\Debug\cmTryCompileExec1469790464.unsuccessfulbuild¡±£¬ÒòΪÒÑÖ¸¶¨¡°AlwaysCreate¡±¡£

 

 

1>ClCompile:

 

1> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64

 

1> Copyright (C) Microsoft Corporation. All rights reserved.

 

1>

 

1> cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D

"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise

/Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1469790464.dir\Debug\\"

/Fd"C:/DCMTK/dcmtk-bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1469790464.pdb"

/Gd /TC /errorReport:prompt

"C:\DCMTK\dcmtk-bin\CMakeFiles\CMakeTmp\testCCompiler.c" /Zm1000

 

1>

 

1> testCCompiler.c

 

1>LINK : fatal error LNK1123: ת»»µ½ COFF ÆÚ¼äʧ°Ü: ÎļþÎÞЧ»òËð»µ

 

1>

 

1>Éú³Éʧ°Ü¡£

 

1>

 

1>ÒÑÓÃʱ¼ä 00:00:00.49

 

========== Éú³É: ³É¹¦ 0 ¸ö£¬Ê§°Ü 1 ¸ö£¬×îР0 ¸ö£¬Ìø¹ý 0 ¸ö ==========

 

 

 

 

 

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:2 (PROJECT)

 

 

Configuring incomplete, errors occurred!

转载于:https://my.oschina.net/qtplus/blog/791808

你可能感兴趣的文章
编程岗位电话面试问答Top 50[转]
查看>>
算法、面试、数据结构
查看>>
mysql出现“the table xxx is full”的问题
查看>>
阿里P8架构师详解Java性能调优策略
查看>>
Pycharm 项目无法导入自己写的模块(问题记录贴)
查看>>
rem辅助式响应布局
查看>>
07-Python列表基础
查看>>
inter 也支持linux开发了
查看>>
udt源码分析
查看>>
常用快捷键的总结
查看>>
vc++开发安装程序实例
查看>>
简例s - Variables
查看>>
JavaNIO非阻塞模式
查看>>
论文阅读笔记六十一:Selective Kernel Networks(SKNet CVPR2019)
查看>>
Java 注解
查看>>
SpringMVC快速入门
查看>>
HTML5学习笔记一:与html4的区别(整合)
查看>>
503. Next Greater Element II
查看>>
error C2065: “CMainFrame”: 未声明的标识符
查看>>
取模和取余的区别
查看>>