source: opengl-game/README.txt@ fe70cd3

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

Update the build instructions for Linux

  • Property mode set to 100644
File size: 1.2 KB
Line 
1TODO: Make sure the instructions in this README still work and, if not, update them
2
3Installation Instructions for Linux
4---------------------------------------
5
6sudo apt-get install xorg-dev libglew-dev libglm-dev
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 and GLEW.
27Create /lib and /include folders and add the paths to those folders to the
28VC++ project. Copy the include/GL and include/GLFW folders into your /include
29folder and all the files in the include folders of both libraries into your /lib
30folder. This should be enough to compile and run the project.
Note: See TracBrowser for help on using the repository browser.