Updated instructions for 64-bit build on Windows for VS10

This commit is contained in:
PKEuS 2012-06-18 11:11:36 -07:00
parent 5316276fcf
commit 14591b3211
1 changed files with 7 additions and 5 deletions

View File

@ -13,6 +13,10 @@ Software needed:
Cppcheck.exe Cppcheck.exe
------------ ------------
Visual Studio 2010:
Just open cppcheck_vs2010.sln, choose "x64" as platform and compile.
Visual Studio 2008:
Make sure you have the Windows SDK installed! VS Express doesn't have 64-bit Make sure you have the Windows SDK installed! VS Express doesn't have 64-bit
tools, libraries or headers so you cannot compile 64-bit binaries without tools, libraries or headers so you cannot compile 64-bit binaries without
Windows SDK. Windows SDK.
@ -28,11 +32,9 @@ Then start VS Express:
VS Express starts otherwise normally but now all environment variables point to VS Express starts otherwise normally but now all environment variables point to
64-bit folders for libraries. 64-bit folders for libraries.
Now you can open the cppcheck.sln (or cppcheck_vs2010.sln) solution file and Now you can open the cppcheck.sln solution file and compile 64-bit targets.
compile 64-bit targets. With VS 2008 there are configurations Debug-x64 and With VS 2008 there are configurations Debug-x64 and Release-x64 for 64-bit targets.
Release-x64 for 64-bit targets. This is because VS 2008 express does not allow This is because VS 2008 express does not allow adding new platform.
adding new platform. For VS 2010 there is platform x64 and Debug/Release
configurations.
You can use e.g. Dependency Walker -program (http://www.dependencywalker.com/) You can use e.g. Dependency Walker -program (http://www.dependencywalker.com/)
to check that build binaries are really 64-bit binaries. to check that build binaries are really 64-bit binaries.