Jiaoma / chipmunk-physics

Automatically exported from code.google.com/p/chipmunk-physics
MIT License
0 stars 0 forks source link

cmake error: Variables no used in cmake files for build the demo. #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
out:

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:
GLUT_Xi_LIBRARY (ADVANCED)
    linked by target "chipmunk_demos" in directory /home/teri/Descargas/Chipmunk-5.3.1/Demo

-- Configuring incomplete, errors occurred!

<=>

cmake used: 2.8, OS: GNU/Linux (Mint)

Original issue reported on code.google.com by teritri...@gmail.com on 30 Aug 2010 at 6:25

GoogleCodeExporter commented 8 years ago
Do you have GLUT installed?

Original comment by slemb...@gmail.com on 30 Aug 2010 at 6:52

GoogleCodeExporter commented 8 years ago
Yes, freeglut. Also i've installed glut3g but the error isn't solved.

Original comment by teritri...@gmail.com on 30 Aug 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Fixed. I did changes in CMakeList.txt inside Demo directory.

Original comment by teritri...@gmail.com on 15 Sep 2010 at 5:37

Attachments:

GoogleCodeExporter commented 8 years ago
I think there need to install glut3 and glut3-dev also.
That fixed the problem

Original comment by prabhuvishnumurthy@gmail.com on 16 Sep 2010 at 3:47

GoogleCodeExporter commented 8 years ago
libglut3 and libglut3-dev

Original comment by prabhuvishnumurthy@gmail.com on 16 Sep 2010 at 3:48

GoogleCodeExporter commented 8 years ago
Ok, sorry I've been a bit slow responding to this.

In the new CMakeList.txt, you changed the include paths from 
${GLUT_INCLUDE_DIR} to hard coded paths like /usr/include/GLUT and the same for 
the library includes. Is that still necessary after installing the glut3 stuff? 
The point of using CMake is to avoid hardcoding the build system to be locked 
to a particular system like this. If I committed those changes it would break 
the build for a lot of systems.

Original comment by slemb...@gmail.com on 30 Sep 2010 at 10:00

GoogleCodeExporter commented 8 years ago

Original comment by slemb...@gmail.com on 7 Dec 2010 at 2:09