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?
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to