carlesfernandez / meta-gnss-sdr

An OpenEmbedded layer for GNSS-SDR
MIT License
9 stars 9 forks source link

Armadillo needs to be linked to liblapack.so and liblas.so #1

Closed carlesfernandez closed 6 years ago

carlesfernandez commented 7 years ago

As it is right now, Armadillo is built "stand-alone" (without Lapack or Blas). This causes breaks at runtime when executing gnss-sdr, specifically when an Armadillo function that needs blas functions is called (e.g. interp1 or pinv). Armadillo recipe should depend on lapack, and this requires lapack shared libraries.

There are some caveats:

carlesfernandez commented 7 years ago

Commit 730dae8754fa09a00df4642e26a6abe9c41ca526 seems to fix the issue. Right now populate_sdk seems broken in master, so I can't try it.

hassanessoufy commented 7 years ago

Thanks a lot Carles, I will try it and mention the result.

carlesfernandez commented 7 years ago

Dear @hassanessoufy,

the Krogoth version now builds lapack, blas, libgfortran and armadillo, so GNSS-SDR can be executed without problems (tested on the Zedboard). Thanks to @Arribas for working on this.

We will upload the generated SDK at http://gnss-sdr.org/docs/tutorials/cross-compiling/ in the following days.

carlesfernandez commented 7 years ago

The SDK is already online at http://gnss-sdr.org/docs/tutorials/cross-compiling/ Please pick the Krogoth release.

carlesfernandez commented 6 years ago

This issue has now been solved in all SDKs. New versions have been updated at http://gnss-sdr.org/docs/tutorials/cross-compiling/, so I'm closing this issue.