我试图像在运行英特尔爱迪生C采样Azure的物联网SDK:建立在爱迪生
https://github.com/neeraj-khanna/azure-iot-sdks/blob/master/c/doc/run_sample_on_intel_edison.md
我试图建立Azure的物联网SDK, 我设置必要的环境变量
export CFLAGS="-I/home/root/qpid-proton/proton-c/include"
export CPPFLAGS="-I/home/root/qpid-proton/proton-c/include"
export LDFLAGS="-L/lib/"
,并尝试在蔚蓝-IOT-SDK的运行运行./build.sh/C/build_all/Linux的 但我得到一个错误:
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:27 (add_subdirectory):
add_subdirectory given source "azure-c-shared-utility/c" which is not an
existing directory.
非常感谢提前!
azure-c-shared-utility是一个独立的GitHub项目。你有没有尝试过:git clone https://github.com/Azure/azure-c-shared-utility.git在你的“azure-iot-sdks/c”目录下? –
我已经在Raspberry PI 2上测试了我的答案以上的raspbian。它的工作原理是... –