source: opengl-game/README.txt@ 3d06b4e

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

Update the project to GLM 0.9.9, add the README to the Visual Studio project, and update the Windows build instructions in the README.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[cfda3b2]1Installation Instructions for Linux
2---------------------------------------
3
[fe70cd3]4sudo apt-get install xorg-dev libglew-dev libglm-dev
[cfda3b2]5
[885f0bb]6make newgame && ./newgame
[669c4e6]7
[885f0bb]8(Old Linux instructions for compiling game.cpp)
[fe70cd3]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
[fc424f6]17brew install glew
18brew install glfw3 --without-shared-library
19brew install glm
20
21This should place all necessary files (or possibly symlinks to them) in
22/usr/loca/include and /usr/local/lib.
[4d52702]23
[5a643d3]24Run 'xcode-select --install'
25This should make g++ check for libraries in /usr/local/
26
[885f0bb]27make newgame && ./newgame
28
[cfda3b2]29Installation Instructions for Windows
30---------------------------------------
[4d52702]31
[21de283]32Download the precompiled 32bit binaries of GLFW and GLEW. Create lib/ and
[dba67b2]33include/ folders in the root opengl-game directory you cloned.
34Copy the include/GL/ and include/GLFW/ folders into your include/ folder.
[21de283]35
[dba67b2]36For GLEW, copy lib/RELEASE/Win32/glew32s.lib into your lib folder.
37For GLFW, copy lib-vc2015/glfw3.lib into your lib folder.
38
39Download GLM and copy the glm folder (the one with all the .hpp files) into the include/ folder you made above.
40GLM is a header-only library, so there is nothing to copy into the lib/ folder.
41
42Open and run NewOpenGLGame.sln in Visual Studio 2017 and run it.
Note: See TracBrowser for help on using the repository browser.