CMake compile problem

Mike Rowen
Posts: 1
Joined: Thu Sep 24, 2015 11:50 am

CMake compile problem

Post by Mike Rowen »

Hi, I am new user of Bullet and Cmake. I wanna make a Bullet project in Visual Studio and have a reference to this website: http://bulletphysics.org/mediawiki-1.5. ... om_scratch
There are something wrong and it is shown in the attached pic. Does anyone have some ideas about this? Thanks so much in advance.
You do not have the required permissions to view the files attached to this post.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: CMake compile problem

Post by Erwin Coumans »

CMake works just fine here with Visual Studio, so it is not clear what is happening. Does cmake support VC2015 and do you use the very latest cmake?

Try using premake instead, click on bullet/build/vs2010.bat and open the generated visual studio file. Newer visual studio's automatically up-convert.
anthrax11
Posts: 72
Joined: Wed Feb 24, 2010 9:49 pm

Re: CMake compile problem

Post by anthrax11 »

Visual Studio 2015 does not include C++ by default. You have to choose it during installation.
http://blogs.msdn.com/b/vcblog/archive/ ... opers.aspx

Edit: I've updated the whole page you linked to. It had some missing and outdated info.