1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 20:31:53 -05:00
sdrangel/ReadmeMacOS.md
ZigaS b743943c70 Update to Qt 5.12.0.
Project files with MacOS clang RPATH to use proper paths for shared objects.
Minor path updates in favor of loading plugin libs.
Deployment script packaging using Qt way(macdeployqt).
2018-12-27 09:48:30 +01:00

64 lines
1.2 KiB
Markdown

# MacOS
## Prerequisites for OSX (Sierra):
- Qt (used 5.12)
- XCode with MacPorts
- HackRF One
We are only covering HackRF One, since is only the hardware I own.
In the future we will test RTL based: NooElec NESDR Nano 3(RTL2832U & R820T2).
### Project dir structure:
SDRangel-4.x:
+ build-sdrangel.macos-Desktop_Qt_5_12_0_clang_64bit-Release
+ sdrangel
+ deps
+ cm256cc
+ dsdcc
+ mbelib
+ nanomsg
+ boost_1_69_0/
### Environment preparation
Boost 1.69: Download and unpack
There are a few dependencies which can be installed through MacPorts:
```
sudo port install cmake hackrf-devel bladeRF rtl-sdr opencv
```
Clone other libs to deps folder:
##### cm256cc:
```
git clone https://github.com/f4exb/cm256cc.git
```
##### mbelib:
```
git clone https://github.com/szechyjs/mbelib.git
```
##### dsdcc:
```
git clone https://github.com/f4exb/dsdcc.git
```
## Build
Release build configuration with QT Creator
## Deployment
Go into release build directory, something like: ```build-sdrangel.macos-Desktop_Qt_***Release```
and run deployment script:
```../sdrangel/apple/deploy.sh```
## Run
from build directory:
```DYLD_LIBRARY_PATH=/opt/local/lib:.; ../MacOS/sdrangel```
or
```../sdrangel/apple/run.sh```