-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
35 lines (25 loc) · 828 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### Install instructions for CMake based build ###
CMake on unix-like systems:
- install CMake 2.4+
- install QT4 development package
- install glut
mkdir _build
cd _build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install
make install
OSX Bundle:
- install CMake 2.4+
- install XCode
- install QT4 frameworks
cd other/osx
./make_bundle
Windows MinGW:
- Install MinGW
- Install CMake 2.4+ and make sure cmake is in system PATH
- Install QT4 libs and make sure qmake is in system PATH
- Download GLUT and make sure its header is in [glut package]\GL\glut.h
mkdir _build
cd _build
cmake .. -DCMAKE_INSTALL_PREFIX=..\_install -G "MinGW Makefiles" -DGLUT_INCLUDE_PATH=[glut package] -DGLUT_LIBRARIES=[glut package]\glut32.lib
mingw32-make install
- copy [glut package]/glut32.dll into _install directory