Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error: cerr is not a member of std #5

Open
minecraft2048 opened this issue Apr 20, 2018 · 1 comment
Open

Compilation error: cerr is not a member of std #5

minecraft2048 opened this issue Apr 20, 2018 · 1 comment

Comments

@minecraft2048
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants