Page 1 of 1

CMake won't build, project variables are turned off.

PostPosted: Sun Sep 04, 2016 12:17 pm
by blakat1033
Using the tuitorial on this site I try to build a make file using cmake only to have this happen. How can I fix this?

blakat@blakat-desktop:~/Chipmunk-7.0.1$ cmake -D CMAKE_BUILD_TYPE=Debug .
Configuring Chipmunk2D version 7.0.1
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLEW_INCLUDE_DIR
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
GLEW_LIBRARIES
linked by target "chipmunk_demos" in directory /home/blakat/Chipmunk-7.0.1/demo
GLFW_INCLUDE_DIR
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
used as include directory in directory /home/blakat/Chipmunk-7.0.1/demo
GLFW_LIBRARIES
linked by target "chipmunk_demos" in directory /home/blakat/Chipmunk-7.0.1/demo

-- Configuring incomplete, errors occurred!
See also "/home/blakat/Chipmunk-7.0.1/CMakeFiles/CMakeOutput.log".

Re: CMake won't build, project variables are turned off.

PostPosted: Tue Sep 06, 2016 11:15 am
by slembcke
Looks like you are using Linux of some flavor? Make sure you have GLEW and GLFW2 installed. That's what CMake is trying to tell you.