From 9a44479349f5bb8efbd03765583f4e363179da60 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Tue, 19 Mar 2013 14:50:44 +0000 Subject: [PATCH] added some beginner notes for compiling through cmake on Unix git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1564 7f0cb862-5218-0410-a997-914c9d46530a --- README.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.cmake b/README.cmake index 9d4bfac..78c2984 100644 --- a/README.cmake +++ b/README.cmake @@ -37,6 +37,11 @@ How to build freeglut on UNIX - FreeBSD: cd /usr/ports/devel/cmake && make install Or directly from their website: http://www.cmake.org/cmake/resources/software.html +- Make sure you have the basics for compiling code, such as C compiler + (e.g., GCC) and the make package. +- Also make sure you have packages installed that provide the relevant + header files for x11 (including xrandr) and opengl (e.g., + libgl1-mesa-dev, libx11-dev and libxrandr-dev on Debian/Ubuntu). - Install XInput: libxi-dev / libXi-devel - Run 'cmake .' in the freeglut directory to generate the makefile. - Run 'make' to build, and 'make install' to install freeglut. -- 1.7.10.4