feature/imgui-sdl
points-test
Last change
on this file since 07ed460 was fc424f6, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 7 years ago |
Update README and makefile comments
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | Installation Instructions for Linux
|
---|
2 | ---------------------------------------
|
---|
3 |
|
---|
4 | sudo apt-get install xorg-dev libglew-dev libglm-dev
|
---|
5 |
|
---|
6 | make 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 |
|
---|
14 | Installation Instructions for OSX
|
---|
15 | ---------------------------------------
|
---|
16 |
|
---|
17 | brew install glew
|
---|
18 | brew install glfw3 --without-shared-library
|
---|
19 | brew install glm
|
---|
20 |
|
---|
21 | This should place all necessary files (or possibly symlinks to them) in
|
---|
22 | /usr/loca/include and /usr/local/lib.
|
---|
23 |
|
---|
24 | Run 'xcode-select --install'
|
---|
25 | This should make g++ check for libraries in /usr/local/
|
---|
26 |
|
---|
27 | Installation Instructions for Windows
|
---|
28 | ---------------------------------------
|
---|
29 |
|
---|
30 | Download the precompiled 32bit binaries of GLFW and GLEW. Create lib/ and
|
---|
31 | include/ 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
|
---|
32 | the lib/ folders of the GLFW and GLEW libraries into your lib/ folder. Also
|
---|
33 | copy the .dll files into the root opengl-game directory. This should be enough
|
---|
34 | to compile and run the project.
|
---|
35 |
|
---|
36 | I 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.