You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I've installed MRAA/UPA from the PPA for Ubuntu 20.04 [Server] on the RPi CM4. However, when I try to compile the example code for the MMA8X5X it fails with the message:
/usr/include/upm/mma8x5x.hpp:34:10: fatal error: interfaces/iAcceleration.hpp: No such file or directory 34 | #include <interfaces/iAcceleration.hpp>
Is this interface into a separate package than I haven't installed? Although I've installed most packages, with the exception of the ones I didn't need (for Node.js, Python, et.c.)
Am I missing something else, maybe some configuration issue?
The text was updated successfully, but these errors were encountered:
Hi @spyrosrallis, you need to install the dev package (libupm-dev) in addition to the runtime to be able to compile against the library. Also, AFAIK on Ubuntu server you need to configure just about everything from scratch, so you may need to set your compiler include directories also after installing the required headers.
Hello. I've installed MRAA/UPA from the PPA for Ubuntu 20.04 [Server] on the RPi CM4. However, when I try to compile the example code for the MMA8X5X it fails with the message:
/usr/include/upm/mma8x5x.hpp:34:10: fatal error: interfaces/iAcceleration.hpp: No such file or directory 34 | #include <interfaces/iAcceleration.hpp>
Is this interface into a separate package than I haven't installed? Although I've installed most packages, with the exception of the ones I didn't need (for Node.js, Python, et.c.)
Am I missing something else, maybe some configuration issue?
The text was updated successfully, but these errors were encountered: