Can't create VS C++ project with CMake

Hi,

I'm having a problem with compiling Box2D v2.1.2 under Windows with VS C++ Express 2008
I'm using CMake v2.8.2 to compile it.

I have to versions of VS on my system maybe thats the problem.
But I someone can just post compiled libraries I would be grateful.

Also I would be grateful if there would be VC project in Box2D package 🙂

Code:
Check for working C compiler using: Visual Studio 9 2008
Check for working C compiler using: Visual Studio 9 2008 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe"
  is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: E:/DOWNLOAD/Box2D_v2.1.2/Box2D_v2.1.2/Box2D/Build/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

  Microsoft (R) Visual Studio Version 9.0.30729.1.

  Copyright (C) Microsoft Corp.  All rights reserved.
 
  'E:\DOWNLOAD\Box2D_v2.1.2\Box2D_v2.1.2\Box2D\Build\CMakeFiles\CMakeTmp\ALL_BUILD.vcproj'
  cannot be opened because its project type (.vcproj) is not supported by
  this version of the application.

  To open it, please use a version that supports this type of project.

  'E:\DOWNLOAD\Box2D_v2.1.2\Box2D_v2.1.2\Box2D\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcproj'
  cannot be opened because its project type (.vcproj) is not supported by
  this version of the application.

  To open it, please use a version that supports this type of project.

  Invalid project

  Use:

  devenv [solutionfile | projectfile | anyfile.ext] [switches]

  The first argument for devenv is usually a solution file or project file.

  You can also use any other file as the first argument if you want to have
  the

  file open automatically in an editor.  When you enter a project file, the
  IDE

  looks for an .sln file with the same base name as the project file in the

  parent directory for the project file.  If no such .sln file exists, then
  the

  IDE looks for a single .sln file that references the project.  If no such
  single

  .sln file exists, then the IDE creates an unsaved solution with a default
  .sln

  file name that has the same base name as the project file. 

  Command line builds:

  devenv solutionfile.sln /build [ solutionconfig ] [ /project
  projectnameorfile [ /projectconfig name ] ]

  Available command line switches:

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)

Configuring incomplete, errors occurred!

Original thread: https://box2d.org/forum/viewtopic.php?t=5359