简体   繁体   English

如何使用visual c ++ 2008编译64位

[英]How can I compile 64 bit with visual c++ 2008

使用visual c ++ 2008 express版本,如何编译64位程序?

Allow me to direct you to 64-Bit Programming with Visual C++ . 请允许我指导您使用Visual C ++进行64位编程 In particular, the sub-page How to: Configure Visual C++ Projects to Target 64-Bit Platforms includes this note for the Express Edition: 特别是,子页面如何:将Visual C ++项目配置为目标64位平台包括Express Edition的这个注释:

64-bit tools are not available on Visual C++ Express by default. 默认情况下,64位工具在Visual C ++ Express上不可用。 To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express. 若要在Visual C ++ Express上启用64位工具,请在Visual C ++ Express之外安装Windows软件开发工具包 (SDK)。

You create a new configuration, in your case x64, provided that you have 64-bit toolchain installed. 如果安装了64位工具链,则在x64的情况下创建一个新配置。

Go to Build menu -> Configuration Manager -> Active solution platform -> New -> x64 (Copy settings from Win32) 转到Build菜单 - > Configuration Manager - > Active solution platform - > New - > x64(从Win32复制设置)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM