eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.

Home Page:http://mraa.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross compile to BeagleBone Green

Fabricio-Valerio opened this issue · 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.

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?

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