Skip to content

Commit 99d5f67

Browse files
committed
Update dependency installation
1 parent 6ed053e commit 99d5f67

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

ADSS Toolkit/autodrive_cpp/build.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ sudo apt-get install -y git libuv1-dev libssl-dev libz-dev gcc g++ cmake make
1111
git clone https://github.com/uWebSockets/uWebSockets
1212
cd uWebSockets
1313
git checkout e94b6e1
14-
cd ..
1514

1615
# Build (compile) the project and store output in the dedicated `build` directory.
1716
mkdir -p build
1817
cd build
1918
cmake ..
2019
make
21-
cd ..
22-
23-
# Create symbolic links to websocket library
20+
sudo make install
21+
cd ../..
2422
sudo ln -sf /usr/lib64/libuWS.so /usr/lib/libuWS.so
2523

24+
mkdir -p build
25+
cd build
26+
cmake .. && make
27+
cd ..
28+
2629
# Clean the repository
27-
sudo rm -r uWebSockets
30+
sudo rm -r uWebSockets

0 commit comments

Comments
 (0)