Skip to content
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

Cannot find the iAcceleration interface? #700

Open
spyrosrallis opened this issue Dec 11, 2020 · 1 comment
Open

Cannot find the iAcceleration interface? #700

spyrosrallis opened this issue Dec 11, 2020 · 1 comment

Comments

@spyrosrallis
Copy link

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?

@Propanu
Copy link
Contributor

Propanu commented Dec 16, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants