discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Anon Lister
Subject: Re: [Discuss-gnuradio] Error: Template 'vector' undefined.
Date: Fri, 3 Aug 2018 13:38:45 -0400

I'll also point out that the swig file referenced is located in the system install path. So if you are using a pybombs install of source build, swig is likely picking up some files from an apt install, which could be causing issues.

On Fri, Aug 3, 2018, 10:39 Michael Dickens <address@hidden> wrote:
Could be that the gnuradio reinstall didn't get all of the files in place. Could be that your modifications to the gr-howto do something strange for SWIG purposes. Could be something entirely unexpected. Really hard to know without source code, a logfile, and info about your host computer: OS (name and version), compiler (name and version), GNU Radio (version and how installed). Sorry I can't provide more specific help. - MLD

On Thu, Aug 2, 2018, at 6:34 PM, Linda20071 wrote:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

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