Open MaxKhlupnov opened 6 years ago
Hello @MaxKhlupnov
"azure_uamqp_c" is a submodule in the iot-sdk-c submodule. It looks like a couple of potential problems:
git submodule update --init --recursive
will fix that.--rebuild-deps
option in build.sh.I just updated one of my VMs to 18.04 and was able to build from a fresh clone of the repo.
CMake Error at gatewayFunctions.cmake:172 (message): **ERROR installing azure_iot_sdks. See /home/makhlu/projects/iot-edge/v1/deps/iot-sdk-c/build/error.txt and /home/makhlu/projects/iot-edge/v1/deps/iot-sdk-c/build/output.txt.
Call Stack (most recent call first): modules/dependencies.cmake:39 (findAndInstall) modules/CMakeLists.txt:6 (include)
From error.txt makhlu@iotedge:~/projects/iot-edge/v1$ cat /home/makhlu/projects/iot-edge/v1/deps/iot-sdk-c/build/error.txt In file included from /home/makhlu/projects/iot-edge/v1/deps/iot-sdk-c/iothub_service_client/src/iothub_messaging.c:13:0: /usr/local/include/azure_uamqp_c/connection.h:13:10: fatal error: azure_uamqp_c/amqp_definitions_fields.h: file doesn't not exist
include "azure_uamqp_c/amqp_definitions_fields.h"
compilation terminated. make[2]: [iothub_service_client/CMakeFiles/iothub_service_client.dir/src/iothub_messaging.c.o] Error 1 make[1]: [iothub_service_client/CMakeFiles/iothub_service_client.dir/all] Error 2