forked from KoRE0/KoRE
-
Notifications
You must be signed in to change notification settings - Fork 0
Beginner's guide
Nils Lichtenberg edited this page May 15, 2013
·
12 revisions
On this page you will find an introduction to get KoRE running on your platform.
Requirements:
- Git
- CMake
- OpenGL, GLEW, GLFW
- Setup up Git and CMake dependent to your platform so that they can be accessed via command line.
- Setup OpenGL, GLFW and GLEW (see OpenGL Help).
To work with KoRE you will need to clone the online sources to your local storage. Preferably you would first fork the main KoRE repository to your own GitHub repository (see GitHub documentation).
- Create a folder with a name that indicates the repository which you are going to clone into that folder. Let us call that folder
REPO_ROOT. - In your command tool, navigate to
REPO_ROOTand typegit clone URL-TO-REPOSITORY, that isgit clone https://github.com/KoRE0/KoRE.gitin case of the KoRE main repository. - Git will start downloading the repository and create a folder
REPO_ROOT/KoRE - When finished, unpack the dependencies for your platform included in
REPO_ROOT/KoRE(Will be available at http://userpages.uni-koblenz.de/~cg/KoRE/ in future)
To create makefiles or project files for a certain IDE (like Eclipse or Visual Studio) CMake has to be run.
- Navigate into
REPO_ROOT/KoREand typecmake. A list of available options will appear. - Find your preferred option and type
cmake -G "OPTION". For example, Eclipse developers using MinGW on Windows would entercmake -G "Eclipse CDT4 - MinGW Makefiles". - Done! KoRE is now ready to compile and use.