mraa icon indicating copy to clipboard operation
mraa copied to clipboard

Cross compile to BeagleBone Green

Open Fabricio-Valerio opened this issue 4 years ago • 2 comments

Hello. I was able to build my project in the Beaglebone, after installing MRAA on it. But it isn't practical to code and build in the Beaglebone, so I tried to cross compile using a Ubuntu VM. I was able to build the application in my VM using gcc arm-linux-gnueabihf-gcc, but I was unable to build it using MRAA. This VM I used to build a project (cross compile) to Linkit Smart 7688 but I couldn't build the project to the beaglebone.

image

Theres is something that I'm missing?

Thanks in advance.

Fabricio-Valerio avatar Nov 27 '20 21:11 Fabricio-Valerio

Well just looking at that, the Linker cant find libmraa, did you install it or put it in a path the Linker is looking for?

tingleby avatar Nov 29 '20 23:11 tingleby

Well just looking at that, the Linker cant find libmraa, did you install it or put it in a path the Linker is looking for?

I installed it:

image

And in the directory CC_TOOLS_3 is the /usr/lib and /usr/include from the beaglebone, where I installed MRAA too, I've updated the makefile and the error continues.

image image image

Fabricio-Valerio avatar Nov 30 '20 13:11 Fabricio-Valerio