我試圖像在運行英特爾愛迪生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。它的工作原理是... –