Well first we tried to run the following commands :
$ git clone https://github.com/oatpp/oatpp.git
$ cd oatpp/
$ unset LD_LIBRARY_PATH
$ source /opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.1/environment-setup-cortexa9hf-neon-phytec-linux-gnueabi
$ mkdir build && cd build
$ cmake ..
$ make install
Cmake build worked, but linux compilation in our program failed. We discovered that it was because these libraries were in 64 bits instead of 32 bits. So we tried this :
$ git clone https://github.com/oatpp/oatpp.git
$ cd oatpp/
$ unset LD_LIBRARY_PATH
$ source /opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.1/environment-setup-cortexa9hf-neon-phytec-linux-gnueabi
$ mkdir build && cd build
$ cmake .. -DCMAKE_CXX_FLAGS=-m32
$ make install
Cmake build worked as well. Libraries seemed to be 32 bits . I try to put the libraries in my actual application but now the libraries are actually ignored by our linker because they're "incompatible".
file ../ext/oatpp-1.3.0/lib/cortexa9hf_neon_Release/liboatpp.a