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).
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
finally got this to work by uninstalling everything and reinstalling in the following order:
- VS2010 C++ Express (in my case)
- SDK 7.1
- VS2010 SP1
- SP1 Compiler patch KB2519277
once this is done, make sure to change the platform toolset to the windows sdk under project properties->configuration properties->general