-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
I have problem to compile code with your API.
I used one of example codes for Raspberry Pi on your sites and it gives me this:
pi@raspberrypi /project/gnublin-api $ g++ /project/LEDs.cpp
In file included from /project/gnublin-api/gnublin.h:45:0,
from /project/LEDs.cpp:3:
/usr/include/linux/i2c-dev.h:39:8: error: redefinition of ‘struct i2c_msg’
/usr/include/linux/i2c.h:67:8: error: previous definition of ‘struct i2c_msg’
/usr/include/linux/i2c-dev.h:91:7: error: redefinition of ‘union i2c_smbus_data’
/usr/include/linux/i2c.h:125:7: error: previous definition of ‘union i2c_smbus_data’
Please can you look at that?
Thanks
John
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels