pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

ik7ytt
Posts: 50
Joined: Tue Mar 12, 2019 11:48 am

pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Postby ik7ytt » Sun Jun 01, 2025 8:54 am

i made new raspberry installation
then installed pihpsdr from internet all ok.
then once i try to use command MAKE i have this request of missing packages:

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
Package 'gtk+-3.0', required by 'virtual:world', not found
cc -O3 -Wall -Wextra -Wimplicit-fallthrough -Wno-unused-parameter -Wno-deprecated-declarations -pthread -I./src -D MIDI -D GPIO -D SATURN -DPULSEAUDIO -D GIT_DATE='"2025-05-22"' -D GIT_VERSION='"v2.5"' -D GIT_COMMIT='"0d7543e"' `pkg-config --cflags gtk+-3.0` -I./wdsp `pkg-config --cflags openssl` -c -o src/about_menu.o src/about_menu.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
Package 'gtk+-3.0', required by 'virtual:world', not found
src/about_menu.c:19:10: fatal error: gtk/gtk.h: No such file or directory
19 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:391: src/about_menu.o] Error 1


and no way to find this package.

there is also no any information about this package and how to install on the manual
any suggestions.

thanks
andy ik7ytt
User avatar
n1gp
Posts: 203
Joined: Sun Apr 09, 2017 6:34 pm

Re: pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Postby n1gp » Sun Jun 01, 2025 5:17 pm

Hi Andy,

You can use apt-file to find what package(s) to install:

apt-file search gtk/gtk.h

libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h

so you want to install libgtk-3-dev

-Rick / N1GP
ik7ytt
Posts: 50
Joined: Tue Mar 12, 2019 11:48 am

Re: pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Postby ik7ytt » Wed Jun 04, 2025 6:58 am

Thanks a lot.

now work perfectly.



n1gp wrote:Hi Andy,

You can use apt-file to find what package(s) to install:

apt-file search gtk/gtk.h

libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h

so you want to install libgtk-3-dev

-Rick / N1GP

Return to “piHPSDR”