gr-clenabled
gr-clenabled copied to clipboard
Compilation error: cerr is not a member of std
I'm compiling from git and this happens:
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-clenabled.dir/fast_atan2f.cc.o
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc: In member function ‘virtual void gr::clenabled::fft_filter_ccf::compute_sizes(int)’:
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc:79:10: error: ‘cerr’ is not a member of ‘std’
std::cerr << "fft_filter_ccf: ntaps = " << d_ntaps
^~~~
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc:79:10: note: suggested alternative: ‘errc’
std::cerr << "fft_filter_ccf: ntaps = " << d_ntaps
^~~~
errc
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-clenabled.dir/clFFT_impl.cc.o
Adding #include <iostream> at that offending source code fixes the problem and now the code compiles
https://github.com/PixarAnimationStudios/USD/pull/987