Ah sorry, forgot to mention the key point: you've got the FindArmadillo.cmake from gr-specest?
On 24.02.2017 21:18, Richard Mcallister wrote: > Hey Marcus, > > I added the following lines to my CMakeLists.txt, following from what > gr-specest had: > find_package(BLAS REQUIRED) > find_package(LAPACK REQUIRED) > find_package(Armadillo) > include(Armadillo) > > And when i run 'make' it results in: > -- A library with BLAS API found. > -- A library with BLAS API found. > -- A library with LAPACK API found. > CMake Error at CMakeLists.txt:125 (include): > include could not find load file: > > Armadillo > (The other lines are just the standard outputs in the console) > Line 125 is include(Armadillo). I guess thats where error is, although > pybombs tells me armadillo is installed. Is there a way to manually > link it? > > Thanks, > Rich > > > > On Fri, Feb 24, 2017 at 2:54 PM, Marcus Müller > <marcus.muel...@ettus.com <mailto:marcus.muel...@ettus.com>> wrote: > > I remember we had quite a struggle for a moment, but fixed that > for gr-specest. See https://github.com/kit-cel/gr-specest > <https://github.com/kit-cel/gr-specest>. > > Best regards, > > Marcus > > > On 24.02.2017 20:31, Richard Mcallister wrote: >> Hey all, >> >> This might be more of an error with cmake or armadillo, but I've >> been trying to use armadillo in an OOT module. I've called make >> and built the module, no issues with missing libraries or >> anything. Pybombs tells me that armadillo is installed, along >> with blas and lapack. I'm using the latest gnuradio update, and >> I'm on Ubuntu 16.04 >> >> However, when I run 'ctest -V -R' >> Test timeout computed to be: 9.99988e+06 >> 3: Traceback (most recent call last): >> 3: File >> "/home/rich/Desktop/repos3/gr-vlp2/python/qa_amp2d_ff.py", line >> 24, in <module> >> 3: import vlp2_swig as vlp2 >> 3: File >> "/home/rich/Desktop/repos3/gr-vlp2/build/swig/vlp2_swig.py", line >> 28, in <module> >> 3: _vlp2_swig = swig_import_helper() >> 3: File >> "/home/rich/Desktop/repos3/gr-vlp2/build/swig/vlp2_swig.py", line >> 24, in swig_import_helper >> 3: _mod = imp.load_module('_vlp2_swig', fp, pathname, >> description) >> 3: ImportError: >> /home/rich/Desktop/repos3/gr-vlp2/build/lib/libgnuradio-vlp2.so: >> undefined symbol: wrapper_sgelsd_ >> >> All of the tests in the OOT modules fail (except test_vlp2), >> including blocks that don't use armadillo. I've looked at >> gr-specest and added the following lines to my CMakeLists.txt: >> find_package(BLAS REQUIRED) >> find_package(LAPACK REQUIRED) >> find_package(Armadillo) >> >> and still get the same issues. I'm pretty sure cmake is missing >> something, I'm just not sure what. Has anyone else had issues >> with this before? >> >> >> Thanks, >> Rich >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> > _______________________________________________ Discuss-gnuradio > mailing list Discuss-gnuradio@gnu.org > <mailto:Discuss-gnuradio@gnu.org> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio