Browse Source

glbinding in Readme and Travis scripts

Thomas Buck 9 years ago
parent
commit
1deefb6aaf
3 changed files with 13 additions and 1 deletions
  1. 5
    0
      README.md
  2. 7
    0
      cmake/travis_install_linux.sh
  3. 1
    1
      cmake/travis_install_mac.sh

+ 5
- 0
README.md View File

16
 * [OpenGL](https://www.opengl.org) (3.3 Core Profile compatible)
16
 * [OpenGL](https://www.opengl.org) (3.3 Core Profile compatible)
17
 * [cmake](http://www.cmake.org) (>= 2.8.8)
17
 * [cmake](http://www.cmake.org) (>= 2.8.8)
18
 * [GLM](http://glm.g-truc.net) (>= 0.9.6)
18
 * [GLM](http://glm.g-truc.net) (>= 0.9.6)
19
+* [glbinding](https://github.com/hpicgs/glbinding)
19
 * [SDL2](http://www.libsdl.org) or [GLFW](http://www.glfw.org)
20
 * [SDL2](http://www.libsdl.org) or [GLFW](http://www.glfw.org)
20
 * [OpenAL](http://www.openal.org) & [ALUT](https://github.com/vancegroup/freealut) (optional, needed for sound output)
21
 * [OpenAL](http://www.openal.org) & [ALUT](https://github.com/vancegroup/freealut) (optional, needed for sound output)
21
 
22
 
23
 
24
 
24
     sudo port install cmake glm libsdl2
25
     sudo port install cmake glm libsdl2
25
 
26
 
27
+Unfortunately, glbinding is not available as binary. But it can be built and installed from source easily. To create a distributable Bundle with glbinding in the default location, do this before running `make install`:
28
+
29
+    sudo install_name_tool -id /usr/local/lib/libglbinding.dylib /usr/local/lib/libglbinding.dylib
30
+
26
 ## Building
31
 ## Building
27
 
32
 
28
 The basic steps needed to build and run OpenRaider:
33
 The basic steps needed to build and run OpenRaider:

+ 7
- 0
cmake/travis_install_linux.sh View File

7
 
7
 
8
 if [ "$CXX" = "clang++" ]; then sudo apt-get install --allow-unauthenticated clang-3.5; fi
8
 if [ "$CXX" = "clang++" ]; then sudo apt-get install --allow-unauthenticated clang-3.5; fi
9
 
9
 
10
+git clone https://github.com/hpicgs/glbinding.git
11
+cd glbinding
12
+cmake .
13
+make -j4
14
+sudo make install
15
+cd ..
16
+

+ 1
- 1
cmake/travis_install_mac.sh View File

1
 #!/bin/bash
1
 #!/bin/bash
2
 
2
 
3
-brew install sdl2 sdl2_ttf freealut glm
3
+brew install sdl2 sdl2_ttf freealut glm glbinding
4
 
4
 

Loading…
Cancel
Save