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

Reply via email to