Open dg5cst opened 4 years ago
Your second export of PKG_CONFIG_PATH is overwriting the first one. You can either try combining them or try running the mac-setup.sh script before compiling as this will export all the packages. -- John
Thanks for Help John, appreciate that. Looks like I am to stupid.
dg5csts-MBP:~ dg5cst$ cd linhpsdr
dg5csts-MBP:linhpsdr dg5cst$ export PKG_CONFIG_PATH=find /usr/local/Cellar -name 'pkgconfig' -type d | grep lib/pkgconfig | tr '\n' ':' | sed s/.$//
dg5csts-MBP:linhpsdr dg5cst$
dg5csts-MBP:linhpsdr dg5cst$ make -f Makefile.mac install
gcc -Wno-deprecated-declarations -D SOUNDIO -D GIT_DATE='"2019-10-11"' -D GIT_VERSION='"Beta"' -D SOAPYSDR -O3 -g pkg-config --cflags gtk+-3.0
-c -o main.o main.c
In file included from main.c:36:
./discovered.h:26:10: fatal error: 'SoapySDR/Device.h' file not found
^~~~~~~~~~~~~~~~~~~
1 error generated. make: *** [main.o] Error 1 dg5csts-MBP:linhpsdr dg5cst$
even brew install soapysdr won't work here.. tried all I found on photossdr page
hope to get it running somehow. gl tnx
If you do not need SoapySDR for a LimeSDR or an RTL-SDR just comment it out in the Makefile.mac. If you want to include it then you need to get the source and compile it. -- John
Tnx John, next step managed..
I can click tune and it is txing but I don't hear any noise, in audio settings I could only choose "SOUNDIO" and beside that I can change between dummy or Coreaudio.
Here is what It comes up with: Last login: Thu Jan 9 18:39:37 on ttys000
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh
.
For more details, please visit https://support.apple.com/kb/HT208050.
dg5csts-MacBook-Pro:~ dg5cst$ /Users/dg5cst/Desktop/linhpsdr ; exit;
Build: 2019-10-11 Beta
GTK+ version 3.24.12
sysname: Darwin
nodename: dg5csts-MacBook-Pro.local
release: 19.2.0
version: Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
machine: x86_64
opengl: 0
Creating wisdom file: /Users/dg5cst/.local/share/linhpsdr/
2020-01-09 18:41:54.594 linhpsdr[880:44088] ** Assertion failure in NSDictionary describeHostApp(id)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-462/NSRemoteView.m:1200
discovery
protocol1_discovery
discover: looking for HPSDR devices on lo0
discover: bound to lo0
discover_receive_thread
discover: sendto socket failed for discovery_socket
: Can't assign requested address
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for lo0
discover: looking for HPSDR devices on en0
discover: bound to en0
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for en0
discover: looking for HPSDR devices on en8
discover: bound to en8
discover_receive_thread
discovered: received 60 bytes
discovery: found device=6 software_version=67 status=2 address=169.254.19.221 (00:1C:C0:A2:13:DD) on en8
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for en8
discovery found 1 devices
discovery: found device=6 software_version=67 status=2 address=169.254.19.221 (00:1C:C0:A2:13:DD) on en8
protocol2_discover: looking for HPSDR devices on en0
protocol2_discover: bound to en0 192.168.8.100 255.255.255.0
protocol2_disovery: thread_id=0x7fbe47872450
protocol2_discover: bytes read -1
protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
protocol2_discover: exiting protocol2_discover_receive_thread
protocol2_discover: exiting discover for en0
protocol2_discover: looking for HPSDR devices on en8
protocol2_discover: bound to en8 169.254.84.80 255.255.0.0
protocol2_disovery: thread_id=0x7fbe47872400
protocol2_discover: bytes read -1
protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
protocol2_discover: exiting protocol2_discover_receive_thread
protocol2_discover: exiting discover for en8
protocol2_discovery found 1 devices
discovery: found protocol=0 device=6 software_version=67 status=2 address=169.254.19.221 (00:1C:C0:A2:13:DD) on en8
main: discovery found 1 devices
discovered: 0 device=6
adding Hermes Lite
tree_selection_changed_cb
tree_selection_changed_cb: selected=Hermes Lite,1,6.7,169.254.19.221,00:1C:C0:A2:13:DD
tree_selection_changed_cb: first=Hermes Lite,1,6.7,169.254.19.221,00:1C:C0:A2:13:DD
found 0
starting Linux HPSDR (Beta): Hermes Lite P1 v6.7 169.254.19.221 (00:1C:C0:A2:13:DD) on en8
create_radio for Hermes Lite 6
loadProperties: /Users/dg5cst/.local/share/linhpsdr/00-1C-C0-A2-13-DD.props
audio_get_backend_name: CoreAudio
audio: create_audio: USE_SOUNDIO: 4 CoreAudio
create_receiver: channel=0 sample_rate=192000
create_receiver: channel=0 frequency_min=0 frequency_max=30720000
create_receiver: buffer_size=1024
create_receiver: fft_size=2048
create_receiver: OpenChannel: channel=0 buffer_size=1024 sample_rate=192000 fft_size=2048 output_samples=256
receiver_init_analyzer: channel=0 zoom=1 pixels=0 pixel_samples=0x0
receiver_update_title: Linux HPSDR: Rx-0 ADC-0 192000
create_vfo: rx=0
rx_panadapter_configure_event_cb
receiver_configure_event: gtk_paned_set_position: rx=0 position=47 height=120 percent=0,391667
create_transmitter: channel=8
transmitter_init_analyzer: width=0 pixels=0
update_timer: fps=10
protocol1_init
Server listening on port 50000
broadcast_thread: bind failed
x=31 y=23
moving main_window to x=31 y=23
rx_panadapter_configure_event_cb
tx_panadapter_configure_event: width=300 height=190
transmitter_init_analyzer: width=300 pixels=900
SetAnalyzer id=8 buffer_size=1024 overlap=3392
radio_start
protocol1_run
protocol1 starting receive thread: buffer_size=2048 output_buffer_size=0
receive_thread: id=0x7fbe4788bca0
metis_restart
protocol1: receive_thread
FPGA firmware version: 6.7
rx_panadapter: resize_timeout
receiver_init_analyzer: channel=0 zoom=1 pixels=1015 pixel_samples=0x0
receiver_init_analyzer: g_new0: channel=0 pixel_samples=0x7fbe4a292000
SetAnalyzer id=0 buffer_size=1024 fft_size=8192 overlap=2048
Thankfully Seb
Once you have selected the local audio system being used in the Radio tab, you can then select the device to output to in the RX-x tabs along with enabling local audio for that receiver.
-- John
John, thank you so much! Works perfect now.. I will let you know about my first eme qso on 23cm with your nice software and Hermes lite 2. 73 TNX Seb
linhpsdr is also available from macports. Just install the pkg from macports and then
sudo port install linhpsdr
You and up with the latest commit and the app at /Applications/MacPorts/linhpsdr.app
Hi, I am having trouble with linhpsdr on mac macOS monterey
here is what I get in the terminal.
rm -f version.o
cc -Wno-deprecated-declarations -D SOUNDIO -D GIT_DATE='"2022-04-25"' -D GIT_VERSION='"Beta"' -D MIDI -O3 -g -D MIDI pkg-config --cflags gtk+-3.0
-c -o main.o main.c
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
main.c:20:10: fatal error: 'gtk/gtk.h' file not found
^~~~~~~~~~~
1 error generated. make: *** [main.o] Error 1
you don't have gtk3 installed/available. why won't you use linhpsdr from macports? then you can build it manually.
I did that and I got...
(linhpsdr:79402): Gtk-WARNING **: 15:01:05.307: cannot open display: :0
You need to reboot. Anyway, I suggest you to use +quartz
variant by default setting it to /opt/local/etc/macports/variants.conf
and rebuilding gtk and linhpsdr. Another very good software is pihpsdr
Hello, I am new on MAC.. tried now serval days to build linhpsdr..
can somebody please help me. I don't know what I do wrong anymore. Many thanks Sebastian
dg5csts-MacBook-Pro:linhpsdr dg5cst$ export PKG_CONFIG_PATH=/usr/local/Cellar/libepoxy/1.5.4/lib/pkgconfig
dg5csts-MacBook-Pro:linhpsdr dg5cst$ export PKG_CONFIG_PATH=/usr/local/Cellar/gtk+3/3.24.12_1/lib/pkgconfig
dg5csts-MacBook-Pro:linhpsdr dg5cst$ make -f Makefile.mac install gcc -Wno-deprecated-declarations -D SOUNDIO -D GIT_DATE='"2019-10-11"' -D GIT_VERSION='"Beta"' -D SOAPYSDR -O3 -g
pkg-config --cflags gtk+-3.0
-c -o main.o main.c Package epoxy was not found in the pkg-config search path. Perhaps you should add the directory containing `epoxy.pc' to the PKG_CONFIG_PATH environment variable Package 'epoxy', required by 'gdk-3.0', not found main.c:20:10: fatal error: 'gtk/gtk.h' file not foundinclude <gtk/gtk.h>
1 error generated. make: *** [main.o] Error 1 dg5csts-MacBook-Pro:linhpsdr dg5cst$