Power & Source of Big Ideas

Development environment for nanopi neo

Moderators: chensy, FATechsupport

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.
Please refer to the contents of this URL:
http://wiki.friendlyarm.com/wiki/index. ... our_Own_OS

The toolchain is contained in the following project directory:
h3_lichee
Take a look at this:

https://github.com/igorpecovnik/lib

Nano Pi Neo and Air are fully supported. Image can be burn directly to internal eMMC, where possible (Neo Air) and serial console can be accessed via USB port, so you don't need to solder anything.
Hi thanks to both for the answers. I will try the armbian solutions in order to see if is possible but in my opinion my question remain unanswered. So how to cross compile other libraries inside my toolchain that is inside a desktop environment with a different architecture. I need to cross compile in general every type of project and library and in the actual condition I have problem. In which repository the nanopi neo (when active) retrieve all packages as gstreamer, v4l2 and so on?

Who is online

In total there are 37 users online :: 0 registered, 0 hidden and 37 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 37 guests