pkg-config non trovando gtk + -3.0

27

Dichiara qui che il pacchetto gtk + -3.0 non è stato trovato:

[email protected]:~$ pkg-config --cflags gtk+-3.0
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

Tuttavia apparentemente ho installato gtk3:

[email protected]:~$ dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii  libgtk-3-0:amd64                            3.14.15-0ubuntu1~14.04~ricotz1                              amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                                3.14.15-0ubuntu1~14.04~ricotz1                              amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                             3.14.15-0ubuntu1~14.04~ricotz1                              all          common files for the GTK+ graphical user interface library
ii  libgtk2.0-0:amd64                           2.24.23-0ubuntu1.3                                          amd64        GTK+ graphical user interface library
ii  libgtk2.0-bin                               2.24.23-0ubuntu1.3                                          amd64        programs for the GTK+ graphical user interface library
ii  libgtk2.0-common                            2.24.23-0ubuntu1.3                                          all          common files for the GTK+ graphical user interface library

Tuttavia, non riesco a trovare il file gtk+-3.0.pc :

[email protected]:~$ sudo find / -name "gtk+-3.0.pc"
[email protected]:~$ 

Qualche idea? Sto cercando di usare cmake ma non riesce a trovare gtk3.

    
posta Karl Morrison 29.05.2016 - 16:01

1 risposta

49

Ho solo installato i normali file gtk3, non i file di sviluppo necessari per cmake per fare uso di:

sudo apt-get install build-essential libgtk-3-dev
    
risposta data Karl Morrison 29.05.2016 - 16:07

Leggi altre domande sui tag