Try to get this installed and running on a Raspberry Pi Zero. Having followed the rest of the read me, when I try to make the examples, it always results in errors. Both "make I2C_MODE=LINUX" and "make I2C_MODE=RPI" result in the same errors of:
"/usr/bin/ld: libMLX90640_API.a(MLX90640_RPI_I2C_Driver.o): in function MLX90640_I2CRead(unsigned char, unsigned short, unsigned short, unsigned short*)': MLX90640_RPI_I2C_Driver.cpp:(.text+0x84): undefined reference tobcm2835_init'
/usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x88): undefined reference to bcm2835_i2c_begin' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x90): undefined reference tobcm2835_i2c_set_baudrate'
/usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0xe0): undefined reference to bcm2835_i2c_setSlaveAddress' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x114): undefined reference tobcm2835_i2c_write_read_rs'
/usr/bin/ld: libMLX90640_API.a(MLX90640_RPI_I2C_Driver.o): in function MLX90640_I2CWrite(unsigned char, unsigned short, unsigned short)': MLX90640_RPI_I2C_Driver.cpp:(.text+0x258): undefined reference tobcm2835_i2c_write'"
Try to get this installed and running on a Raspberry Pi Zero. Having followed the rest of the read me, when I try to make the examples, it always results in errors. Both "make I2C_MODE=LINUX" and "make I2C_MODE=RPI" result in the same errors of:
"/usr/bin/ld: libMLX90640_API.a(MLX90640_RPI_I2C_Driver.o): in function
MLX90640_I2CRead(unsigned char, unsigned short, unsigned short, unsigned short*)': MLX90640_RPI_I2C_Driver.cpp:(.text+0x84): undefined reference to
bcm2835_init' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x88): undefined reference tobcm2835_i2c_begin' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x90): undefined reference to
bcm2835_i2c_set_baudrate' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0xe0): undefined reference tobcm2835_i2c_setSlaveAddress' /usr/bin/ld: MLX90640_RPI_I2C_Driver.cpp:(.text+0x114): undefined reference to
bcm2835_i2c_write_read_rs' /usr/bin/ld: libMLX90640_API.a(MLX90640_RPI_I2C_Driver.o): in functionMLX90640_I2CWrite(unsigned char, unsigned short, unsigned short)': MLX90640_RPI_I2C_Driver.cpp:(.text+0x258): undefined reference to
bcm2835_i2c_write'"Is there something I'm clearly doing wrong?