cmake编译ITK报错:The C compiler is not able to compile a simple test program
来源:互联网 发布:北京柒柒网络团队骗 编辑:程序博客网 时间:2024/06/05 05:24
cmake编译ITK时出现如下错误:
The C compiler identification is MSVC 19.0.23026.0
Check for working C compiler: E:/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Check for working C compiler: E:/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- broken
CMake Error at E:/CMake/share/cmake-3.8/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "E:/Microsoft Visual Studio 14.0/VC/bin/cl.exe" is not able
to compile a simple test program.
LINK : fatal error LNK1104: 无法打开文件“MSVCRTD.lib”
打开VS2015,任选了一个工程,打开“属性管理器”->Debug|Win32->Microsoft.Cpp.Win32.user,"链接器"->"输入"->"附加依赖项"中有msvcrtd.lib,而"链接器"->"常规"->"附加库目录"中没有msvcrtd.lib的路径。遂添加msvcrtd.lib路径“$(VC_LibraryPath_x86)”,保存并退出VS2015,再用cmake编译ITK,就不再报错了。
阅读全文
0 0
- cmake编译ITK报错:The C compiler is not able to compile a simple test program
- win7 vs2010 ogre1.72(1)cmake的问题compiler "cl" is not able to compile a simple test program.
- win7 vs2010 ogre1.72(1)cmake的问题compiler "cl" is not able to compile a simple test program.
- compiler "cl" is not able to compile a simple test program.
- 关于cmake is not able to compile a simple test program
- CMake broken --is not able to compile a simple test program
- ArcGIS Server注册共享文件夹报错/地理数据库同理【the arcgisserver is not able to connect to the specified directory】
- m2eclipse报错:Unable to locate the Javac Compiler in: C:Program FilesJavajre6..libtools.jar
- eclipse报错:Unable to locate the Javac Compiler in: C:Program FilesJavajre6..libtools.jar
- Caffe+VS2015环境配置Cmake过程报错—— The C compiler identification is unknown解决方案
- Redis报错 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- cmake 编译opencv 出现 The C++ compiler "C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
- cmake 编译opencv 出现 The C++ compiler "C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
- The Linker Is not a Magical Program
- The Linker Is Not a Magical Program
- cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can
- CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and
- sencha touch编译报错:“bfailed to create task or type x-compass-compile Cause: The name is undefined”
- java内部类
- 【JavaSE学习笔记】IO流02_字节输出流OutputStream、字节输入流InputStream
- Java并发集合的实现原理
- Meta http-equiv用法详解
- 输入:包含条形码图形和条形码文本的图片 输出:条形码的文本
- cmake编译ITK报错:The C compiler is not able to compile a simple test program
- linux中/etc/init.d的作用
- POJ
- (3)HttpServletRequest
- 《ECMAScript 6入门》笔记2
- JAVABean与xml互转
- 算法学习笔记--5.merge sort & divide-and-conquer
- nohup和&的区别
- 13个人围成一圈,从第一个人开始顺序报号1、2、3,凡是报到3的人退出圈子。最后留的人是几号?