AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
3.94k stars 544 forks source link

Correct way to install on macOs #657

Closed 60mirrors closed 1 year ago

60mirrors commented 2 years ago

Bonjour Alexandre,

I am confused:

I compiled SDR++ with support for SoapySDR and SDRplay and have to run from /usr/local/bin. Works fine! Then I thought that a simple download of the app for macOs would be the thing to do in the future. But now I have a version with ánd without support on different locations..

Do I have to compile from now on? By the way: running from the commandrompt doesn't give me that nice app-icon.

Can you help?

AlexandreRouma commented 2 years ago

Hello, I don't recommend building yourself on MacOS, it's not yet well supported or easy.

Download the prebuilt .app bundle at https://www.sdrpp.org/nightly and install the SDRplay API. It's for intel only but you haven't mentioned which CPU architecture or OSX version your mac uses.

60mirrors commented 2 years ago

Hello Alexandre,

This is the output of SDRUtil —info:

/Users/Loewal/Downloads/ SoapySDRUtil --info ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.8.0-gf722f9ce API Version: v0.8.0 ABI Version: v0.8 Install root: /usr/local Search path: /usr/local/lib/SoapySDR/modules0.8 Module found: /usr/local/lib/SoapySDR/modules0.8/librtlsdrSupport.so (0.3.2) Module found: /usr/local/lib/SoapySDR/modules0.8/libsdrPlaySupport.so (0.3.0-1c6631d) Module found: /usr/local/lib/SoapySDR/modules0.8/libuhdSupport.so (0.4.1-1f7b6fa) Available factories... rtlsdr, sdrplay, uhd Available converters...  - CF32 -> [CF32, CS16, CS8, CU16, CU8]  - CS16 -> [CF32, CS16, CS8, CU16, CU8]  - CS32 -> [CS32]  - CS8 -> [CF32, CS16, CS8, CU16, CU8]  - CU16 -> [CF32, CS16, CS8]  - CU8 -> [CF32, CS16, CS8]  - F32 -> [F32, S16, S8, U16, U8]  - S16 -> [F32, S16, S8, U16, U8]  - S32 -> [S32]  - S8 -> [F32, S16, S8, U16, U8]  - U16 -> [F32, S16, S8]  - U8 -> [F32, S16, S8] @.***█▓▒░ vr feb 18 08:38:36P /Users/Loewal/Downloads/

Other programs do show my RSP1, directly and through Soapy.

By the way: compiling isn’t that difficult and works well. The only “problem” is, that the way I start SDR++ from the prompt isn’t that nice as starting the normal way.

How do I get more than Airpyhf+, Hackrf and RTLSDR?

Thank you. On 18 Feb 2022, 08:22 +0100, AlexandreRouma @.***>, wrote:

Hello, I don't recommend building yourself on MacOS, it's not yet well supported or easy. Download the prebuilt .app bundle at https://www.sdrpp.org/nightly and install the SDRplay API. It's for intel only but you haven't mentioned which CPU architecture or OSX version your mac uses. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

AlexandreRouma commented 2 years ago

Firstly, there's a reason I'm telling you to download the prebuilt one instead of building it yourself. It WILL NOT create an icon because that is NOT how apps work on MacOS. It has to be built in a specific way and since it's a work in progress I don't support it publically right now. Download the prebuild bundle and remove the one you built.

Secondly, don't use SoapySDR for the SDRplay, SDR++ has native support for SDRplay SDRs and almost all other SDRs on the market, soapy support is just there for people running esoteric hardware. I will stop supporting SoapySDR once all SDRs soapy provides support for are natively supported.

Finally, you still haven't told me what CPU architecture you're using, can't help you with the SDRplay stuff if you don't.....

loewal commented 2 years ago

I am sorry Alexandre,

I use an Intel iMac under Monterey.

I downloaded the app you advised, but there is no Soapy-entry nor Sdrplay.

Sorry to bother!! On 18 Feb 2022, 09:15 +0100, AlexandreRouma @.***>, wrote:

Firstly, there's a reason I'm telling you to download the prebuilt one instead of building it yourself. It WILL NOT create an icon because that is NOT how apps work on MacOS. It has to be built in a specific way and since it's a work in progress I don't support it publically right now. Download the prebuild bundle and remove the one you built. Secondly, don't use SoapySDR for the SDRplay, SDR++ has native support for SDRplay SDRs and almost all other SDRs on the market, soapy support is just there for people running esoteric hardware. I will stop supporting SoapySDR once all SDRs soapy provides support for are natively supported. Finally, you still haven't told me what CPU architecture you're using, can't help you with the SDRplay stuff if you don't..... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

AlexandreRouma commented 2 years ago

Install the latest version of the SDRplay API for MacOS and make sure it's running. it's not shipped with SDR++

loewal commented 2 years ago

Hi,

/Users/Loewal/Downloads/ SoapySDRUtil --probe="driver=sdrplay" ######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Probe device driver=sdrplay [INFO] devIdx: 0 [INFO] hwVer: 1


-- Device identification

 driver=SDRplay  hardware=B0020P0004  sdrplay_api_api_version=0.000000  sdrplay_api_hw_version=1


-- Peripheral summary

 Channels: 1 Rx, 0 Tx  Timestamps: NO  Other Settings:   RF Gain Select - RF Gain Select  [key=rfgain_sel, default=1, type=string, options=(0, 1, 2, 3)]   IQ Correction - IQ Correction Control  [key=iqcorr_ctrl, default=true, type=bool]  * AGC Setpoint - AGC Setpoint (dBfs)  [key=agc_setpoint, default=-30, type=int, range=[-60, 0]]


-- RX Channel 0

 Full-duplex: NO  Supports AGC: YES  Stream formats: CS16, CF32  Native format: CS16 [full-scale=32767]  Antennas: RX  Corrections: DC removal  Full gain range: [0, 42] dB  IFGR gain range: [20, 59] dB  RFGR gain range: [0, 3] dB  Full freq range: [0.01, 2000] MHz  RF freq range: [0.01, 2000] MHz  CORR freq range: MHz  Sample rates: 0.0625, 0.125, 0.25, 0.5, 1, 6, 7, 8, 9, 10 MSps  Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

The app-version shows no Soapy nor Sdrplay. The compiled version show everything I wanted.

You see, the api is running.

?????????

On 18 Feb 2022, 09:28 +0100, AlexandreRouma @.***>, wrote:

Install the latest version of the SDRplay API for MacOS and make sure it's running. it's not shipped with SDR++ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

AlexandreRouma commented 2 years ago

Stop trying to rely on soapy, it's not a good way of knowing if it's installed properly

Do as I told you and install the latest SDRplay API (3.07 or higher), make sure the service is running and start SDR++

gvanem commented 2 years ago

@loewal This looks wrong (your Soapy-SDR is messed up?):

hardware=B0020P0004 sdrplay_api_api_version=0.000000

Here it reports:

 driver=SDRplay
 hardware=RSP1A
 mir_sdr_api_version=2.130000
 mir_sdr_hw_version=255
 serial=1803049E94

So you'll need to update it.

loewal commented 2 years ago

Hello Gisle,

I also see an other difference: mir_sdr_api_version etc…. Mine is sdrplay…. Where did you get your api? On 18 Feb 2022, 11:37 +0100, Gisle Vanem @.***>, wrote:

@loewal This looks wrong (your Soapy-SDR is messed up?):

hardware=B0020P0004 sdrplay_api_api_version=0.000000 Here it reports: driver=SDRplay hardware=RSP1A mir_sdr_api_version=2.130000 mir_sdr_hw_version=255 serial=1803049E94 So you'll need to update it. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

loewal commented 2 years ago

I downloaded and installed form the SDRPlay-site.

For: RSP1 OS: MacOS other

So… what else can I do? On 18 Feb 2022, 11:37 +0100, Gisle Vanem @.***>, wrote:

@loewal This looks wrong (your Soapy-SDR is messed up?):

hardware=B0020P0004 sdrplay_api_api_version=0.000000 Here it reports: driver=SDRplay hardware=RSP1A mir_sdr_api_version=2.130000 mir_sdr_hw_version=255 serial=1803049E94 So you'll need to update it. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

AlexandreRouma commented 2 years ago

https://www.sdrplay.com/softwarehome/

loewal commented 2 years ago

That’s the one I installed (again) this morning. Even restarted my iMac

???? On 18 Feb 2022, 12:20 +0100, AlexandreRouma @.***>, wrote:

https://www.sdrplay.com/softwarehome/ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

n2iw commented 2 years ago

As Alex said, don't try to use Soapy to do anything SDRPlay related. In my setup, Soapy can't find SDRPlay at all, but it works fine in SDR++.

If you don't see SDRPlay in your sources list, try to quit SDR++ then delete "/Users//Library/Application Support/sdrpp", then restart SDR++. I recently lost SDRPlay in the sources list, it only appeared after I delete that folder.

nechry commented 2 years ago

I download the prebuilt .app bundle for OSX at https://www.sdrpp.org/nightly as recommended, but I expect to use a ADALM-PLUTO (PlutoSDR). But in build option the PlutoSDR is turn OFF. Is something I can do to get it work at the moment? thank-you

AlexandreRouma commented 2 years ago

I had to stop including the plutosdr support in MacOS because the driver was broken. I'll retry again later

nechry commented 2 years ago

ok thanks for your reply, anyway I also have a rtl-sdr stick and I really appreciate your development, is my favorite srd tool so far