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
Make failing for new gnuRadio install on ubuntu for interpolating_resampler.cc #1388
Comments
What is your OS version? |
On July 18, 2017 10:35:45 AM EDT, Johnathan Corgan ***@***.***> wrote:
@awalls-cx18
This compiles on Fedora 26 and for the git PR buildbot without error.
The problem appears to be the version of C++ in use is being very particular about wanting a real pointer value and not NULL, which is just an integer.
The simple solution is to remove the 2nd argument (NULL) in the 8 vector initializer calls in that file.
…-Andy
|
Thanks. Let me try that. My OS version is Ubuntu 12.04. |
I'm going to be pushing a PR for fixing this that should work for you, but please remember that Ubuntu 12.04 is no longer supported by us or Canonical. |
Thanks Sir. Point noted. |
@Sandeep-Sarma PR #1389 has the recommended changes; please confirm this solves your problem as we do not test gcc 4.6 or Ubuntu 12.04. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On checking out the latest version (commit: bd61122), I get the following errors on make:
make[2]: *** [gr-digital/lib/CMakeFiles/gnuradio-digital.dir/interpolating_resampler.cc.o] Error 1
make[1]: *** [gr-digital/lib/CMakeFiles/gnuradio-digital.dir/all] Error 2
Error:
gnuradio/gr-digital/lib/interpolating_resampler.cc:392:70: instantiated from here
/usr/include/c++/4.6/bits/stl_vector.h:1080:4: error: invalid conversion from ‘int’ to ‘std::vectorgr::filter::kernel::fir_filter_fff*::value_type {aka gr::filter::kernel::fir_filter_fff*}’ [-fpermissive]
usr/include/c++/4.6/bits/stl_vector.h:1122:7: error: initializing argument 2 of ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = gr::filter::kernel::fir_filter_fff*, _Alloc = std::allocatorgr::filter::kernel::fir_filter_fff*, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = gr::filter::kernel::fir_filter_fff*]’ [-fpermissive]
The text was updated successfully, but these errors were encountered: