oF app running on Buildroot image

Hello,

I am trying to have an OF app running on a raspberry pi using Buildroot.
Has anyone managed to do this?

I am lost in Buildroot libraries configuration. Some just don’t match the version I have on the Raspberry Pi I use for compiling my application originally.

Or does anyone know if just copying the library used by my app to the Buildroot image would just do the trick?

$ ldd myOfApp
linux-vdso.so.1 (0x7ef12000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76fb4000)
libatomic.so.1 => /usr/lib/arm-linux-gnueabihf/libatomic.so.1 (0x76f75000)
libgstapp-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstapp-1.0.so.0 (0x76f57000)
libgstvideo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstvideo-1.0.so.0 (0x76ec7000)
libgstbase-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstbase-1.0.so.0 (0x76e49000)
...

I can list all libraries my app use with ldd. Then I could just copy them all in /lib/ folder of my buildroot image. From what I understand they only put shared libraries and no headers files on the image since they do not provide with a compiler on the target.

Cheers,

1 Like