Thank you for reporting this. Are the examples you mentioned the only ones that fail to compile? Are the errors for the 3 examples the same, please attach a screenshot of the error. If it’s not the same error, attach a picture or the output of each error individually.
Do you see the errors after following the instructions from here:
You mentioned that your packages are synchronized so you’ve already followed https://software.intel.com/en-us/node/705853 . Just to double check, which UPM and MRAA versions do you have installed? Also, which image are you using on your Edison?
We’ll be waiting for your response.
The examples I mentionned are the ones I tried to compile and failed (but for example the blink led example or HelloWorld are working).
I followed the instructions from the links you gave.
But since yesterday I made some progresses:
- ble-scan-bracelet is now compiling by fixing the docker container: I edit the file /usr/include/bluetooth/bluetooth.h and replace "typeof" by "__typeof__". Now it is compiling. I have not yet tried to run it. And by the way the file .../bluetooth.h on my Edison board is correct. So it looks like the docker container and the Edison image are not in sync.
- access-control is also now compiling. I needed to add a new symbol (linux) in Eclipse to have it compiling.
For attaching error, I think it will be faster for you to reproduce it than for me to make a copy paste.
Packages are synchronized as explained in your link.
upm is version 1.0.2
mraa is version 1.5.1
For Edison image, I noticed that the image you get by the installer: https://software.intel.com/edison-config/linux/latest and the one you get by this link: https://software.intel.com/edison-image/latest are not the same. But anyway, I tried both and same result.
1 of 1 people found this helpful
Thank you for following the instructions we sent. We tried to run the examples you mentioned plus a few others and got the error you described. The error was the same "UPM: Unknown Platform" you mentioned in your first post. Other examples besides the three you initially mention also have this problem.
I’ve not tried yet the workaround you posted for ble-scan-bracelet and access-control but, we’ll take it as feedback when we report the situation to the proper team. I’m sure it’ll also help other users that try to use the examples on the ISS IoT.