Azure-Samples / iot-hub-c-raspberrypi-client-app

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-raspberry-pi-kit-c-get-started
MIT License
36 stars 34 forks source link

Error while running setup.sh #18

Closed mkeyanmech closed 6 years ago

mkeyanmech commented 6 years ago

Hello all I get below errors while running setup.sh, appreciate any help or suggestions on how to fix the error

CMakeFiles/app.dir/main.c.o:/home/pi/iot-hub-c-raspberrypi-client-app/main.c:334: more undefined references to `LogError' follow collect2: error: ld returned 1 exit status CMakeFiles/app.dir/build.make:172: recipe for target 'app' failed make[2]: [app] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/app.dir/all' failed make[1]: [CMakeFiles/app.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

SLdragon commented 6 years ago

Fixed @mkeyanmech