discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Using Eigen C++ template library in GNURADIO


From: Sebastian Mueller
Subject: Re: [Discuss-gnuradio] Using Eigen C++ template library in GNURADIO
Date: Thu, 9 Mar 2017 14:42:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Hello Nasi,

can you please explain what you are trying to do? From the little information that you provide I can say: The type VectorXcf is AFAIK neither defined in Eigen nor in GNU Radio, so  how should the compiler know what VectorXcf means? I think you might have forgotten to define the type *before* the first usage.

Best,
Sebastian

On 08.03.2017 07:18, Nasi wrote:
Dear members,

does anyone know how to use Eigen C++ template library in GNURADIO?

my OS is Ubuntu 16.04 lts.
gnuradio version 3.7.10,

I can use it separately as c++ library by adding these lines:

#include <eigen3/Eigen/Core>
#include <eigen3/Eigen/QR>
#include <eigen3/Eigen/Dense>

...
VectorXcf fftshiftXcf(VectorXcf x, int NFFT);
...
//----------------------------------------------------------

however, in gnuradio project, I get the error:

error: ‘VectorXcf’ does not name a type
VectorXcf fftshiftXcf(VectorXcf x, int NFFT);



--
NE

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]