pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: c++ std and gnuradio - trouble and fixing





El 18/5/25 a las 19:30, Greg Troxel escribió:
Apparently recent gnuradio needs C++20, but the bl3 doesn't say that.

It's not clear if the headers need C++20 to be used.  I have found that
compiling gr-osmosdr with forcing c++11 (that gr-osmosdr is
cmake-documented to need) fails, and succeeds with forcing c++17.

Either way, 'import osmosdr' in python fails, unless gr-osmosdr is built
with gcc12.  On NetBSD 10, gcc10 is used - because it's good enough for
c++11, and because gnuradio's bl3 doesn't say.   I am not sure if the
failure is "you need to use C++20 to read gnuradio headers" or "gcc10
and gcc12 have incompatible ABIs" aka "c++ is a mess; film at 11" :-)

I have a query to upstream about gr-osmosdr, and will likely query about
headers c++ versions, after reading a bit more.

But I think we're heading to setting USE_LANGUAGES and USE_CXX_FEATURES
in bl3.


Hello Greg,

Thank you so much for taking the time to properly address the issue. I truly appreciate your help. I must admit, all these complexities are a bit overwhelming for me, but I’m eager to learn from your findings and explanations.

Best regards,




Home | Main Index | Thread Index | Old Index