-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAstraSDKInstall.txt
More file actions
59 lines (35 loc) · 869 Bytes
/
AstraSDKInstall.txt
File metadata and controls
59 lines (35 loc) · 869 Bytes
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
58
tar -xvf AstraSDK-v2.0.14-8dd7d5344a-20181210T213031Z-Ubuntu1604.tar.gz
rename
cd AstraSDK-v2.0.14/
cd install/
sudo chmod +x install.sh
sudo ./install.sh
cd
sudo gedit ~.bashrc
add these lines at the end of .bashrc
export ASTRA_SDK_INCLUDE=/home/pkumars/AstraSDK-v2.0.14/install/include
export ASTRA_SDK_LIB=/home/pkumars/AstraSDK-v2.0.14/install/lib
save and close
cd AstraSDK-v2.0.14/samples/
mkdir build
cd build
sudo apt-get install gcc-5
sudo apt-get install cmake
sudo apt-get install libsfml-dev
cmake ..
make -j$(nproc) # will use all the cores for compilation
./bin/SimpleBodyViewer-SFML
# debug mode
cd ..
mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)
./bin/SimpleBodyViewer-SFML
# Release Mode
cd ..
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)
./bin/SimpleBodyViewer-SFML