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 > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
