source: opengl-game/README.txt@ 363d5ff

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

Create a VS project for the new version of the game

  • Property mode set to 100644
File size: 1.2 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 and GLEW. Create lib/ and
27include/ folders in the root opengl-game directory you cloned. Copy the include/GL/ and include/GLFW/ folders into your include/ folder and all the files in
28the lib/ folders of the GLFW and GLEW libraries into your lib/ folder. Also
29copy the .dll files into the root opengl-game directory. This should be enough
30to compile and run the project.
31
32I would like to figure out how to statically compile glew and glfw to eliminate the need for the dlls.
Note: See TracBrowser for help on using the repository browser.