|
From: | Richard Mcallister |
Subject: | Re: [Discuss-gnuradio] Linking Armadillo and LAPACK to gnuradio |
Date: | Fri, 24 Feb 2017 15:36:26 -0500 |
yep, simply copy over to cmake/Modules. That way, CMake will find it when you look for Armadillo
Cheers,
Marcus
PS: I think this might be useful in the future, so please try to keep the mailing list in CC:
On 24.02.2017 21:25, Richard Mcallister wrote:
FindArmadillo.cmake in cmake/Modules? I haven't included it, so I just place the file in cmake/Modules? Or how I should include it in my OOT module?
On Fri, Feb 24, 2017 at 3:22 PM, Marcus Müller <address@hidden> wrote:
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:
RichThanks,And when i run 'make' it results in: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)
-- 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?
On Fri, Feb 24, 2017 at 2:54 PM, Marcus Müller <address@hidden> 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 .
Best regards,
Marcus
On 24.02.2017 20:31, Richard Mcallister wrote:
RichAll 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:However, when I run 'ctest -V -R'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
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_
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,
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/ listinfo/discuss-gnuradio _________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/ listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |