且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在32位机器Windows应用程序上编译64位

更新时间:2022-01-12 02:50:49

以下讨论看起来很有帮助:在32位计算机上编译64位 [ ^ ]



它说:请确保在32位计算机上安装了x64位编译器。默认情况下不安装。

转到添加/删除程序,选择Visual Studio,更改,添加/删除功能并从C ++节点添加x64编译器。安装x64编译器后,您应该在Platform下看到相应的选项,并且shoudl能够在32位机器上构建x64项目。

Following discussion looks helpful: Compiling for 64 bit on a 32 bit machine[^]

It says: Please make sure that x64 bit compilers are installed on your 32-bit machine. Not installed by default.
Goto Add/Remove programs, select Visual Studio, Change, Add/Remove features and add x64 compilers from C++ node. After installing x64 compilers, you should see appropriate options under Platform and shoudl be able to build x64 projects on 32 bit machine.