source: opengl-game/README.txt@ c40990d

feature/imgui-sdl points-test
Last change on this file since c40990d 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
RevLine 
[cfda3b2]1Installation Instructions for Linux
2---------------------------------------
3
[fe70cd3]4sudo apt-get install xorg-dev libglew-dev libglm-dev
[cfda3b2]5
[669c4e6]6make game
7
[fe70cd3]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)
[cfda3b2]13
[5a643d3]14Installation Instructions for OSX
15---------------------------------------
16
[4d52702]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
[5a643d3]20Run 'xcode-select --install'
21This should make g++ check for libraries in /usr/local/
22
[cfda3b2]23Installation Instructions for Windows
24---------------------------------------
[4d52702]25
[21de283]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
[4813066]30to compile and run the project.
[21de283]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.