致命错误C1189:#error:必须定义目标架构。 [英] fatal error C1189: #error : Must define a target architecture.

查看:76
本文介绍了致命错误C1189:#error:必须定义目标架构。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编译VS2008项目并收到错误"致命错误C1189:#error: 必须定义目标架构。"

I am compiling VS2008 project and getting error "fatal error C1189: #error :  Must define a target architecture."

任何人都可以帮助我。 :(

Anybody please help me. :(

推荐答案

您能否提供一些关于您针对哪个SDK构建项目的更多信息?

Could you provide us some more info on what kind of project you are building against which SDK?

您很可能正在构建桌面SDK,而您需要再次使用智能设备SDK。所以安装正确的SDK。如果不是这样,您可能有(错误的)对桌面的引用包括路径,请将其从项目中移除... 

You most probably are building against a desktop SDK while you need to do it agains your smart device SDK. So install the correct SDK. If that isn't the case you probably have (wrong) references to desktop include paths so remove them from your project... 





这篇关于致命错误C1189:#error:必须定义目标架构。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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