Skip to content

Commit

Permalink
Build libwebsocket from source
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jul 20, 2023
1 parent 3670d9c commit fdb2172
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion utils/scripts/setup-env.bash
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,15 @@ if [ $SETUP_NETWORK = true ]; then
sudo apt-get install --assume-yes \
libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf \
protobuf-compiler-grpc libgrpc-dev libgrpc++-dev \
libwebsockets-dev libpaho-mqtt-dev
libpaho-mqtt-dev
# Setup libwebsockets
git clone https://github.com/warmcat/libwebsockets.git
pushd libwebsockets
mkdir build
cd build
cmake ..
make
popd
# Setup crow
curl --proto '=https' --tlsv1.2 -L -o ./crow.deb "${CROW_URL}"
sudo apt-get install --assume-yes ./crow.deb
Expand Down

0 comments on commit fdb2172

Please # to comment.