Issues Setting up with VS2015 and CMake

Post Reply
blendedcheese
Posts: 2
Joined: Wed May 24, 2017 3:34 pm

Issues Setting up with VS2015 and CMake

Post by blendedcheese »

Following the instructions outlined at: http://www.bulletphysics.org/mediawiki- ... om_scratch , I am getting these CMake errors when configuring bullet (i.e. when hitting "Configure" in CMake GUI):

Code: Select all

Found executable C:/Python27/python.exe with suitable version 2.7.12
Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES) (found suitable exact version "2.7.12")
CMake Error at CMakeLists.txt:367 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: Extras does not exist.

CMake Error at CMakeLists.txt:373 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: src does not exist.

CMake Error at CMakeLists.txt:411 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: test does not exist.

CMake Error at examples/CMakeLists.txt:1 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: HelloWorld does not exist.

CMake Error at examples/CMakeLists.txt:14 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: OpenGLWindow does not exist.
Of course, unchecking the relevant boxes, I can get rid of all of the CMake errors except for "Directory: src does not exist" (and I'm assuming that src is pretty important!). Ideally I would still like the demos and examples, as I'm wanting to get to grips with the engine before using it.

At first glance I thought it was an issue with my installation of python, but the issue still crops up after resintalling.
I've also tried different compiler versions (vs 2015 and vs2015 x64), but this doesn't seem to be the issue.

Could anyone shed some light on what these errors actually mean, and how I might go about fixing them?
blendedcheese
Posts: 2
Joined: Wed May 24, 2017 3:34 pm

Re: Issues Setting up with VS2015 and CMake

Post by blendedcheese »

So this was a stupidly simple fix; no idea how this even happened.

Apparently the folders that cmake couldn't find either hadn't been extracted or somehow got deleted. Re-downloading and extracting bullet into the directory did the trick.
Shame there isn't a facepalm smiley!
Post Reply