-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #7
Comments
Hi @dveoz. What OS you use, is this a Linux? Do you perform this command on embedded device? Which one? Could you give an output for: 1) |
Hi @d2r2, thanks for reply! I tried this command on different machines: Raspberry PI Zero as we as Mac. here is the output:
For Mac:
|
Thanks for debug output. I can find explanation, why it doesn't work on Mac, but it's not clear for me what is wrong on Raspberry PI Zero. I can update build constraint in the header from version:
to the version:
and perhaps it resolve the issue with Mac. But before we will move forward, let make another test. Try to run this line on both devices and reply about results:
|
Trying to perform the command:
I get the response:
# github.com/d2r2/go-i2c ../../../go/src/github.com/d2r2/go-i2c/i2c.go:36:26: undefined: I2C_SLAVE
What am I doing wrong?
The text was updated successfully, but these errors were encountered: