New to cmake

onetool1
Posts: 1
Joined: Thu Dec 09, 2010 12:15 am

New to cmake

Post by onetool1 »

I am trying to run cmake on the BasicDemo and during the Generation process I get an error
Cannot find source file "bullet.rc"

WinXP Pro
Visual Studio 9 2008

I have set an environment variable (BULLET_PHYSICS_SOURCE_DIR) to the directory that I have put bullet in. So that when cmake looks through the CMakeLists.txt it would pull in the path. I have even tried windows and unix slashes.

Any insight to what I am doing wrong would be greatly appreciated.
Thank you
Randy
skeen
Posts: 24
Joined: Wed Dec 08, 2010 11:59 am

Re: New to cmake

Post by skeen »

onetool1 wrote:I am trying to run cmake on the BasicDemo and during the Generation process I get an error
Cannot find source file "bullet.rc"

WinXP Pro
Visual Studio 9 2008

I have set an environment variable (BULLET_PHYSICS_SOURCE_DIR) to the directory that I have put bullet in. So that when cmake looks through the CMakeLists.txt it would pull in the path. I have even tried windows and unix slashes.

Any insight to what I am doing wrong would be greatly appreciated.
Thank you
Randy
Are you Running:

Code: Select all

 cmake ../path/to/bullet -G "Visual Studio 9 2008"
 start BULLET_PHYSICS.sln
Wheres the path is to the bullet root folder?

Please try to avoid spaces in the path btw, can make cmake cranky
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: New to cmake

Post by Erwin Coumans »

You should not need to manually set this environment variable BULLET_PHYSICS_SOURCE_DIR or anything else.

Please use cmake-gui, it is easier, or just use the visual studio project files in Bullet/msvc.
Thanks,
Erwin