Memo-migrated‎ > ‎

Notes to use Visual Studio 2010 EXPRESS

posted Jul 1, 2013, 9:52 PM by Teng-Yok Lee   [ updated Jan 3, 2021, 12:28 AM ]
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 (

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 Program Files\Microsoft Visual Studio 10.0\VC\bin\amd643. The content of this file is very simple:

CALL setenv /x64