CMake:“ cl.exe无法编译简单的测试程序” [英] CMake: "cl.exe not able to compile a simple test program"

查看:157
本文介绍了CMake:“ cl.exe无法编译简单的测试程序”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual Studio 2010中构建DCMTK。

I want to build DCMTK in Visual Studio 2010.

我按照这里的建议在此处输入链接描述,如图所示。

I followed the advice here enter link description here, as the image shows.


而且我仍然遇到相同的错误。有任何想法吗?

And I still get the same error. Any ideas?

推荐答案

在运行cmake之前运行以下脚本。

Run the following script before running cmake.

>vcvars32  (to set some system vars, C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat)

这篇关于CMake:“ cl.exe无法编译简单的测试程序”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆