Hello,
I want to build latest Code::Blocks SVN on Ubuntu 20.04 (upgraded from 18.04). I have a project using gtk 2 , with a custom makefile. It seems to me that this Ubuntu does not support gtk2 any longer. I may have to rewrite the code for gtk3. Now the problem is that C::B stops building after this command:
./configure --with-contrib-plugins=all
telling:
[some output]
checking for HUNSPELL... yes
configure: gtk2 used
checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
No package 'gtk+-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
What can I do now ?