discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Error: Template 'vector' undefined.


From: Linda20071
Subject: [Discuss-gnuradio] Error: Template 'vector' undefined.
Date: Thu, 2 Aug 2018 18:34:30 -0400

Reinstalled the workspace for gnuradio. Tried a test on the new workspace with the howto example, but didn't create the Python QA test file. Instead, I directly modified the "square_ff_impl.cc" file. "cmake" command has passed. While doing "make" command, I got: 

Swig source
/usr/include/gnuradio/swig/pmt_swig.i:50: Error: Template 'vector' undefined.
......

In the pmt_swig.i, there are lines:

%include <std_vector.i>
%template(pmt_vector_int8) std::vector<int8_t>;
%template(pmt_vector_uint8) std::vector<uint8_t>;
%template(pmt_vector_int16) std::vector<int16_t>;
%template(pmt_vector_uint16) std::vector<uint16_t>;
%template(pmt_vector_int32) std::vector<int32_t>;
%template(pmt_vector_uint32) std::vector<uint32_t>;
%template(pmt_vector_float) std::vector<float>;
%template(pmt_vector_double) std::vector<double>;
%template(pmt_vector_cfloat) std::vector< std::complex<float> >;
%template(pmt_vector_cdouble) std::vector< std::complex<double> >;

Being able to make it work before in another workspace. It looks like no changes in the swig. Does anybody know where the real problem is?


reply via email to

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