-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
20 lines (12 loc) · 783 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1. Building
1.1 Windows
To build on windows, you need DevIL and GLEW in proper directories. GLEW is expected to be in "Program Files\GLEW" (32bit builds and native 64bit builds) or "Program Files (x86)\GLEW" (32bit builds on 64bit machines).
DevIL must have it's directory appended to %PATH% environment variable. There is bug in cmake FindDevIL.cmake module. I tries to search for il.h instead of IL/il.h so you have to change FindDevIL.cmake module in [cmake_root]/share/Modules to look for IL/il.h.
Change line:
FIND_PATH(IL_INCLUDE_DIR il.h
to:
FIND_PATH(IL_INCLUDE_DIR IL/il.h
1.2 Linux
After building with CMake copy src/shaders directory to bin/ directory in build
dir. I.e shaders/ folder must be in the same folder from which you run the
rotating_boxes executable.