- FreeBSD: cd /usr/ports/devel/cmake && make install\r
Or directly from their website:\r
http://www.cmake.org/cmake/resources/software.html\r
+- Make sure you have the basics for compiling code, such as C compiler\r
+ (e.g., GCC) and the make package.\r
+- Also make sure you have packages installed that provide the relevant\r
+ header files for x11 (including xrandr) and opengl (e.g.,\r
+ libgl1-mesa-dev, libx11-dev and libxrandr-dev on Debian/Ubuntu).\r
- Install XInput: libxi-dev / libXi-devel\r
- Run 'cmake .' in the freeglut directory to generate the makefile.\r
- Run 'make' to build, and 'make install' to install freeglut.\r