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

SoapyUHD failing to build in macOS 14 #60

Open
BatchDrake opened this issue Feb 5, 2025 · 1 comment
Open

SoapyUHD failing to build in macOS 14 #60

BatchDrake opened this issue Feb 5, 2025 · 1 comment

Comments

@BatchDrake
Copy link

Error comes from brew install --head soapyuhd in GitHub macos-latest runners:

==> Installing pothosware/pothos/soapyuhd --HEAD
==> cmake .. -DUHD_ROOT='.'
==> make install
Last 15 lines from /Users/runner/Library/Logs/Homebrew/soapyuhd/02.make:
                 ^
/tmp/soapyuhd-20250205-19960-9zi99p/UHDSoapyDevice.cpp:865:39: error: allocating an object of abstract class type 'UHDSoapyTxStream'
    uhd::tx_streamer::sptr stream(new UHDSoapyTxStream(_device, args));
                                      ^
/opt/homebrew/include/uhd/stream.hpp:338:18: note: unimplemented pure virtual method 'post_output_action' in 'UHDSoapyTxStream'
    virtual void post_output_action(
                 ^
[ 80%] Linking CXX shared module libuhdSupport.so
/opt/homebrew/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/uhdSupport.dir/link.txt --verbose=1
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -bundle -Wl,-headerpad_max_install_names -o libuhdSupport.so CMakeFiles/uhdSupport.dir/SoapyUHDDevice.cpp.o CMakeFiles/uhdSupport.dir/Version.cpp.o  /opt/homebrew/lib/libuhd.dylib /opt/homebrew/lib/libboost_thread.dylib /opt/homebrew/lib/libboost_system.dylib /opt/homebrew/lib/libSoapySDR.0.8.1.dylib -pthread -flat_namespace
@ryanvolz
Copy link
Contributor

ryanvolz commented Feb 5, 2025

Same error rebuilding against UHD 4.8 for conda-forge: conda-forge/soapysdr-module-uhd-feedstock#31. This looks like it is related to post_input_action / post_output_action functions being added to the rx_streamer / tx_streamer classes in UHD: EttusResearch/uhd@7833aa7. I guess the UHDSoapyRxStream / UHDSoapyTxStream classes need to implement these functions.

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