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.
After running the setup script with or without a sensor I get the following errors:
a. I don't think the app is compiling properly
b. When I try to run the app with my connection string after compiling, I get an Illegal Instruction message
Any thoughts?
Thanks in advance.
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ cmake . && make
-- Configuring done
CMake Error: Unable to open check cache file for write. /home/pi/iot-hub-c-raspberrypi-client-app/CMakeFiles/cmake.check_cache
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ sudo cmake . && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/iot-hub-c-raspberrypi-client-app
Built target app
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ sudo ./app ''
Illegal instruction
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $
Hello,
After running the setup script with or without a sensor I get the following errors:
a. I don't think the app is compiling properly b. When I try to run the app with my connection string after compiling, I get an Illegal Instruction message
Any thoughts?
Thanks in advance.
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ cmake . && make -- Configuring done CMake Error: Unable to open check cache file for write. /home/pi/iot-hub-c-raspberrypi-client-app/CMakeFiles/cmake.check_cache pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ sudo cmake . && make -- Configuring done -- Generating done -- Build files have been written to: /home/pi/iot-hub-c-raspberrypi-client-app Built target app pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $ sudo ./app ''
Illegal instruction
pi@rpi0w-sensor:~/iot-hub-c-raspberrypi-client-app $