building with VS2010

gmseed
Posts: 8
Joined: Sat Sep 25, 2010 6:09 pm

building with VS2010

Post by gmseed »

Hi

I downloaded the v2.77 sdk and upon extracting I found the folder:

C:\Bullet\sdk\bullet-2.77\msvc\2008

I created a new folder called ...2010, double clicked the soln and performed the automatic conversion.

Upon building the solution it fails in the project AppParticlesOCL_Mini with the error:

1> The system cannot find the path specified.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command ""C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E copy_if_different C:/develop/bullet-2.77/Demos/ParticlesOpenCL/ParticlesOCL.cl C:/develop/bullet-2.77/msvc/2008/Demos/ParticlesOpenCL/MiniCL
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 3.

Looking into this project I see in Build Events-Post Build Event the following command-line has been explicitly set:

"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E copy_if_different C:/develop/bullet-2.77/Demos/ParticlesOpenCL/ParticlesOCL.cl C:/develop/bullet-2.77/msvc/2008/Demos/ParticlesOpenCL/MiniCL

Firstly, I don't have CMake installed at the specified location and it appears that specific "C:\develop.." folders have been specified.

Has anyone else found a solution to this problem?

Graham
anthrax11
Posts: 72
Joined: Wed Feb 24, 2010 9:49 pm

Re: building with VS2010

Post by anthrax11 »

Try using CMake-gui to generate the VS2010 project files.

Set the source folder to "C:\Bullet\sdk\bullet-2.77" and the binaries folder to "C:\Bullet\sdk\bullet-2.77\msvc\2010", specify the Visual Studio 10 Win64 generator, then hit Configure and Generate.
gmseed
Posts: 8
Joined: Sat Sep 25, 2010 6:09 pm

Re: building with VS2010

Post by gmseed »

Thanks.

Your suggestion sorted the build.

Graham
viperboy
Posts: 8
Joined: Wed Feb 09, 2011 5:48 pm

Re: building with VS2010

Post by viperboy »

Thx, this help me either ;)