Dear Sir, I have comment out the "#include <complex.h>", but still has error, as below:
[ 80%] Building CXX object gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o [ 86%] Built target gnuradio-qtgui [ 86%] Built target fcd_nfm_rx [ 87%] Built target test_atsci [ 87%] Built target _atsc_swig [ 87%] Built target _qtgui_swig [ 88%] Built target gnuradio-channels [ 88%] Built target _channels_swig [ 92%] Built target gnuradio-digital [ 92%] Built target _digital_swig [ 98%] Built target gnuradio-trellis [ 98%] Built target _trellis_swig /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc: In member function ‘virtual int gr::dtv::dvbt2_paprtr_cc_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:770:102: error: ‘_Complex_I’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:771:37: error: ‘cexp’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:772:48: error: ‘creal’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:773:49: error: ‘cimag’ was not declared in this scope make[2]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o] Error 1 make[1]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. The complete log is at https://github.com/activecat/gnuradio/blob/master/installation_log_003.txt Please advise, thanks. On Thu, Apr 2, 2015 at 9:49 AM, Ron Economos <w...@comcast.net> wrote: > In your previous pull request, you deleted the line: > > #include <complex.h> > > in gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc > > This would directly fix the build issues reported by Activecat and Marcus > Leech. > > Ron > > On 04/01/2015 06:34 PM, Michael Dickens wrote: > >> I'm not sure my forthcoming pull request directly addresses these >> specific issues, but it does a bunch of others for C++11 compliance in >> std::complex -- whether or not you're using C++11; it's backward compatible >> with C++0x and earlier, and should be forward compatible as well. Before we >> address these specific issues, let's get my patches in place -- they remove >> all of the GCC extensions to std::complex, so they might have an impact on >> these issues. I should be able to do the PR tomorrow; still testing on >> various systems tonight. - MLD >> On Wed, Apr 1, 2015, at 09:24 PM, Johnathan Corgan wrote: >> >>> I believe Michael Dickens will have a comprehensive fix for issues like >>> this soon. >>> >> > > _______________________________________________ > 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