我正在使用 RPI 3B
uname -a 返回: 4.14.98-v7+ #1200 armv71
操作系统是 stretch
gcc version is 4.9.3
我正在尝试根据 hackster.io 上的这个项目将我的 RPi 设置为 BLE 网关。我执行了前几个命令:
git clone --recurse-submodules https://github.com/Wolkabout/WolkGateway.git
sudo apt-get install mosquitto cmake python python-pip && python -m pip install conan
Bash 脚本
然后我运行了一个包含以下内容的 bash 脚本 (configure.sh):
!/usr/bin/env bash
cp tools/git/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
pushd out
conan install -s compiler.libcxx=libstdc++11 --build=missing ..
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
popd
Run Code Online (Sandbox Code Playgroud)
Bash 脚本的输出
终端输出:
line 21: conan: command not found
Run Code Online (Sandbox Code Playgroud)
第 …