-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
58 lines (35 loc) · 1.51 KB
/
README
File metadata and controls
58 lines (35 loc) · 1.51 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
BUILDING THE TOP LEVEL PROJECT
##############################
There are two projects here: the Proteus language engine (core) and the Slipstream program which uses Proteus (slip).
To download or unpack important dependancies into ./deps then install them in ./builds run:
cd ProteusCore
export SDL_CONFIG=</path/to/ProteusCore>/builds/libs/SDL/1.3/bin/sdl2-config
cmake .
make
NOTE: This script (./CMakeLists.txt) needs some love. There are 3 or 4 places where it breaks in practice. Please send back any fixes made.
HINT FOR MAC: For error "ld: library not found for -lpng"
Solution: "export LIBRARY_PATH=/Developer/SDKs/MacOSX10.7.4.sdk/usr/lib:/usr/X11/lib"
HINT: error: boost/intrusive_ptr.hpp: No such file or directory
Solution: http://www.boost.org/doc/libs/1_47_0/doc/html/quickbook/install.html (on mac: sudo port install boost)
BUILDING amd RUNNING clip -- A CLI for The Proteus Core
#######################################################
Proteus requires a C++11 compiler such as gcc 4.7+. At last check, the CLANG compiler did not work.
cd ./ProteusCore/core
cmake .
make
The first time you will need to generate the concept database:
cd ../lang
./generateDB
RUN THE CLI:
./clip
TESTING THE BUILD:
make && ctest --timeout 4 -j6 --output-on-failure
OR:
./M
To add tests or see the names for specific tests see testCore.cpp and CMakeTests.txt.
BUILDING slip -- The Slipstream engine (GUI)
############################################
cd slip
cmake .
make
./slip