Installing gnuradio on cygwin (compile errors)


#1

Hi,

I recently tried to compile gnuradio (version 3.0.3 downloaded from
the website) on cygwin, and I am getting a few compile errors related
to invalid conversion between “const char *” and “char *”. As I am
new to Python/SWIG, I am not able to figure out a solution. Can you
please help ?

A compile log is attached below.

Thanks,
Vijay.

gnuradio_swig_python.cc: In function int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)': gnuradio_swig_python.cc:2052: error: invalid conversion fromconst
char*’ to char*' In file included from ../../../../gnuradio-core/src/lib/general/gr_agc2_ff.h:27, from gnuradio_swig_python.cc:4681: ../../../../gnuradio-core/src/lib/general/gri_agc2_ff.h: In constructorgri_agc2_ff::gri_agc2_ff(float, float, float, float,
float)’:
…/…/…/…/gnuradio-core/src/lib/general/gri_agc2_ff.h:83: warning:
gri_agc2_ff::_attack_rate' will be initialized after ../../../../gnuradio-core/src/lib/general/gri_agc2_ff.h:82: warning:float gri_agc2_ff::_decay_rate’
…/…/…/…/gnuradio-core/src/lib/general/gri_agc2_ff.h:40: warning:
when initialized here
gnuradio_swig_python.cc: In function void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)': gnuradio_swig_python.cc:133570: error: invalid conversion fromconst
char*’ to `char*’
make[6]: *** [gnuradio_swig_python.lo] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2