DCMTK3.6.0(MD支持库)安装过程中通过CMake编译时出现的问题

错误如下:

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值