As I am not in school anymore, I need to find ways to build my code on Windows. My current approach is using Visual Studio 2010 Express. In order to build 64-bit programs, I also need Windows SDK for Windows 7 and .NET 4 (http://www.microsoft.com/en-us/download/details.aspx?id=8279). PS. Please install Windows SDL first. Otherwise, if VC 2010 x86/x64 Redistributable is newer than SDK, the installation will fail1. Once it is installed, I can use CMake to generate the .sln and projects. Nevertheless, I need to go to Tools -> Settings -> select 'Expert Settings' in order to build the code in Release configuration2! If CUDA is needed, please manually create a batch file vcvars64.bat. under Reference:Program Files\Microsoft Visual Studio 10.0\VC\bin\amd64 3. The content of this file is very simple:CALL setenv /x64
|
Memo-migrated >