How to solve fatal error: 'linux/spi/spidev.h' file not found on mac

109 Views Asked by At

I am a newbie. Currently, I am using the terminal on MAC to compile a C code. I encountered the following errors:

fatal error: 'linux/spi/spidev.h' file not found

Maybe spidev was not installed on my laptop. I am using an Allwinner board. Can anybody help me solve this error? Sorry for my simple question. Is there any way to install spidev (C code) for MAC?"

0

There are 0 best solutions below