gnuradio / gr-dpd

Digital Pre-Distortion implementation in GNU Radio
https://grdpd.wordpress.com
GNU General Public License v3.0
37 stars 16 forks source link

Build fails when using Ninja rather than make #7

Open dkozel opened 4 years ago

dkozel commented 4 years ago

For some reason, swig is incorrectly wrapping the make functions of several blocks when I use Ninja as the build system rather than make.

     swig/CMakeFiles/dpd_swig.dir/dpd_swigPYTHON_wrap.cxx:5220:57: error: too few arguments to function call, expected 4, have 3
    result = gr::dpd::MP_model_PA::make(arg1,arg2,arg3);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    ../lib/../include/dpd/MP_model_PA.h:50:5: note: 'make' declared here
    static sptr make(int Order, int Mem_Depth, std::string Mode, const std::vector <gr_complex> &Coeff);
    ^
    swig/CMakeFiles/dpd_swig.dir/dpd_swigPYTHON_wrap.cxx:5478:44: error: too few arguments to function call, expected 4, have 3
    result = (*arg1)->make(arg2,arg3,arg4);
    ~~~~~~~~~~~~~ ^
    ../lib/../include/dpd/MP_model_PA.h:50:5: note: 'make' declared here
    static sptr make(int Order, int Mem_Depth, std::string Mode, const std::vector <gr_complex> &Coeff); 

This isn't something we need to fix during GSoC. I'm leaving this as a warning to folks in the future, and as a request for help from anyone interested in investigating.