I was trying to install pcsx 1.10 from source. After the configure step, make was executing until

 Utils.hpp:31:21: error: gtk/gtk.h: No such file or directory

In file included from About.cpp:54: Utils.hpp:31:21: error: gtk/gtk.h: No such file or directory

Then another one million of errors showed up. The file gtk.h is already present on:


Tried another time, this time changing the configuration to include the environment variables made to detect gtk files:

./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Pcsx-df-1.10/  --enable-nautilusburn=false  GTK2_CFLAGS=/usr/include/gtk-2.0/ GTK2_LIBS=/usr/lib/gtk-2.0/

This time the compilation process terminated with:

 /usr/bin/ld: /usr/lib/gtk-2.0/: No such file: File format not recognized
 collect2: ld returned 1 exit status

Any suggestions?

  • What OS are you using? Jan 16, 2020 at 23:02
  • @NasirRiley Ubuntu 10.04 Jan 19, 2020 at 15:38
  • Ubuntu 10.4? That's long ago end of life. Before you begin, install a recent version like 19.04. Jan 19, 2020 at 16:21
  • @NasirRiley I cannot do that Jan 19, 2020 at 18:20
  • You need to install both gtk2-dev and gtk3-dev. There are also several other developer packages that you'll need. As you are still using Ubuntu 10.04, it's possible that some of those packages won't exist or will be too old to compile PCSX-Reloaded and that the libraries will be told for it to function properly. If you can't install a later version of Ubuntu, then there's nothing that you can do. EOL means just that. Jan 20, 2020 at 5:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.