vs2010报错:fatal error C1189:#error: ERROR :only win32 target supported!
vs2017报错:
When compiled with corecrt.h: “Unsupported architecture“
\ucrt\corecrt_stdio_config.h(31): fatal error C1189 :#error: Unsupported architecture.
在使用vs2017编译工程时遇到这个问题,原因是
解决方法:
博主使用的是vs打开qt的pro原始文件产生的。
默认生成的工程里会将这个取消所有预处理器定义选择成是,编译的时候会报此错误。
将取消所有预处理定义 改成 否。