source: opengl-game/README.txt@ 516668e

feature/imgui-sdl points-test
Last change on this file since 516668e was 11a48af, checked in by Dmitry Portnoy <dmp1488@…>, 7 years ago

Merge branch 'master' of http://medievaltech.com/git/opengl-game

  • Property mode set to 100644
File size: 1.1 KB
Line 
1Installation Instructions for Linux
2---------------------------------------
3
4sudo apt-get install xorg-dev libglew-dev libglm-dev
5
6make game
7
8(Old Linux instructions for compuling game.cpp)
9-sudo apt-get install cmake xorg-dev libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
10-
11--Compile GLFW3 from source
12- (cmake . && make && sudo make install)
13
14Installation Instructions for OSX
15---------------------------------------
16
17Install and link glfw and glew using homebrew. This should place all necessary
18files (or possibly symlinks to them) in /usr/loca/include and /usr/local/lib.
19
20Run 'xcode-select --install'
21This should make g++ check for libraries in /usr/local/
22
23Installation Instructions for Windows
24---------------------------------------
25
26Download the precompiled 32bit binaries of GLFW, GLEW, and glm (a header-only
27library). Create lib/ and include/ folders in the root opengl-game directory
28you cloned. Copy the include/GL/, include/GLFW/, and glm/ folders into your
29include/ folder and all the files in the lib/ folders of the GLFW and GLEW
30libraries into your lib/ folder (glm has no lib/ folder). This should be enough
31to compile and run the project.
Note: See TracBrowser for help on using the repository browser.