CubicSDR
CubicSDR copied to clipboard
Apple M1 build recipe for 0.2.7
Hello,
I recently built CubicSDR from source, and had to make a few workarounds to get things to build (based on macOS build wiki):
- if installing liquid-dsp from source, with the default --prefix (/usr/local), CMakefiles/CubicSDR.dir/flags.make needs
-I/usr/local/include/liquidadded to the CXX_INCLUDES - having built SoapyRTLSDR from source, it also installed to /usr/local, requiring
-DBUNDLE_SOAPY_MODS=1 -DSOAPY_SDR_ROOT=/usr/localto be added to the cmake args - the new code signing regime on osx will cause the application to immediately exit due to not being signed, with the exception type
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)). I worked around this by executingcodesign --force --deep --sign - x64/CubicSDR.appto use ad-hoc code signing.
This will resolve the "no soapy modules found" dialog, which I leave here so that others might find this :)