基于 microsoft visual c++ express 2010 的 64 位构建 [英] 64-bit build on microsoft visual c++ express 2010

查看:33
本文介绍了基于 microsoft visual c++ express 2010 的 64 位构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Visual c++ express 2010 将 vc++ 项目编译为 64 位.我知道 64 位编译器不附带 vc++ express 的默认安装,因此我按照此处指定的方式安装了适用于 windows 7 的 windows sdk (http://msdn.microsoft.com/en-us/library/9yb4317s.aspx),其中包括据我所知的 64 位编译器.但是,在 vc++ 的配置管理器中仍然没有 64 位选项.经过一番搜索,我找到并完成了本教程(http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/)以及各种本页底部的链接.尽管我付出了很多努力,但我仍然无法在 vc++ 中显示 64 位编译器.我也尝试重新安装 vc++ 和 sdk.如果有人有任何让这个工作的经验/技巧,我将不胜感激.仅供参考 - 我正在运行 Windows 7(x64).

I am trying to compile a vc++ project as 64 bit using visual c++ express 2010. i know that the 64 bit compiler does not come with the default installation of vc++ express so i installed windows sdk for windows 7 as specified here (http://msdn.microsoft.com/en-us/library/9yb4317s.aspx) which includes the 64 bit compiler as i understand. however, there is still no 64 bit option in the configuration manager for vc++. after some searching i found and completed this tutorial (http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/) as well as the various links at the bottom of this page. despite all my efforts, i still cannot get the 64 bit compiler to show in vc++. i have also tried reinstalling both vc++ and sdk. if anyone has any experience/tips with getting this to work i would really appreciate it. fyi - i am running windows 7(x64).

推荐答案

最终通过卸载所有内容并按以下顺序重新安装来解决此问题:

finally got this to work by uninstalling everything and reinstalling in the following order:

  1. VS2010 C++ Express(就我而言)
  2. SDK 7.1
  3. VS2010 SP1
  4. SP1 编译器补丁 KB2519277

完成后,确保在项目属性->配置属性->常规下将平台工具集更改为windows sdk

once this is done, make sure to change the platform toolset to the windows sdk under project properties->configuration properties->general

这篇关于基于 microsoft visual c++ express 2010 的 64 位构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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