Development environment for nanopi neo
Posted: Mon Oct 31, 2016 11:23 am
I'm waiting the nanopi neo board (will arrive next days) but I would like to ask you some things about the possibility to have a development environment for cross compilation. I setted up a toolchain for nanopi neo following these informations:
http://www.nanopi.org/NanoPi-NEO_Development.html
So I have my toolchain and I can cross-compile. In this way I cross compiled several simple examples, so after I will try to test them, when my board will arrive. The problem now is when, for example, I would like to cross-compile big projects/libraries like for example this project https://github.com/stulluk/FFmpeg-Cedrus, using
The configure faild because ERROR: libv4l2 not found
This obligate me to cross compile libraries as v4l2-dev, and so on, that ask me other library and so on and become really tedious and I'm worried about the possibility to receive some errors that I'm not able to overtake. I have some ideas, but any suggestions is well accepted:
a) the cross compilation is inside a ubuntu 14.04 LTS so I thought to setup a multiarchitectural downloading packages armhf to put inside the /usr/lib directory of the systool of the toolchain
b) waiting the board trying to recover shared or static library using apt-get inside the board and after copying that library inside the sysroot of the toolchain
c) compile inside the board (but I think that for big project could by time expensive).
Which is the best way to solve all my problems? Please tell me because I'm sure that someone has just solved this issues.
Thanks a lot in advance
G.
http://www.nanopi.org/NanoPi-NEO_Development.html
So I have my toolchain and I can cross-compile. In this way I cross compiled several simple examples, so after I will try to test them, when my board will arrive. The problem now is when, for example, I would like to cross-compile big projects/libraries like for example this project https://github.com/stulluk/FFmpeg-Cedrus, using
The configure faild because ERROR: libv4l2 not found
This obligate me to cross compile libraries as v4l2-dev, and so on, that ask me other library and so on and become really tedious and I'm worried about the possibility to receive some errors that I'm not able to overtake. I have some ideas, but any suggestions is well accepted:
a) the cross compilation is inside a ubuntu 14.04 LTS so I thought to setup a multiarchitectural downloading packages armhf to put inside the /usr/lib directory of the systool of the toolchain
b) waiting the board trying to recover shared or static library using apt-get inside the board and after copying that library inside the sysroot of the toolchain
c) compile inside the board (but I think that for big project could by time expensive).
Which is the best way to solve all my problems? Please tell me because I'm sure that someone has just solved this issues.
Thanks a lot in advance
G.