Hi, I was able to build win64 executable on my 32-bit Windows.
First, I had to make the "full installation" of VS 2008 (the "default installation" did not provide the win64 compiler in my case). Then, I had to select the "Visual Studio 9 2008 Win64" generator in CMake. And the project built correctly. However, it is not possible to execute the generated binaries on a 32-bit Windows. Xavier On Mon, Oct 1, 2012 at 10:45 PM, John Drescher <[email protected]> wrote: > On Mon, Oct 1, 2012 at 4:35 PM, Arindam Mukherjee > <[email protected]> wrote: >> Hi, >> >> I have a Windows XP build setup with Visual Studio 2008 SP1 and >> Windows SDK 6. I have set up a CMake project for a source base that is >> built on Linux, Solaris, AIX and Windows. So far I have managed to get >> the Windows 32-bit build going but cannot make the x64 cross-compile >> work. >> >> It seems that CMake generates 32-bit builds even when I initialize the >> 64-bit build system (vcvarsall.bat x64). What is the correct way to >> set such a build up. >> > > I do not believe Visual Studio will build x64 targets on 32 bit > windows. The first issue would be installing the x64 compiler. However > I could be wrong. > > John > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
