Hi
Bit more info if it helps, I only get the error message compiling with
certain compilers:
gcc-8 works
arm-linux-gnueabihf-gcc-8 works
c99-gcc error -
/usr/local/include/bcm2835.h:692:8: error: unknown type name ‘off_t’ -
extern off_t bcm2835_peripherals_base;
c89-gcc errpr =
/usr/local/include/bcm2835.h:692:8: error: unknown type name ‘off_t’ -
extern off_t bcm2835_peripherals_base;
this time it's a completely clean "hello world" program with an #include
<bcm2835.h>
adding #include<sys/types.h> still sorts the problem on c99-gcc which
was what I was trying to use
Sam