je suis sous linux ..
en fait je fais du C et je voulais utiliser cette librairie graphique ..
j'ai trouvé ce qui ne va pas .. en fait c'est la pkg_config ..
quand je vais voir dans le fichier concernant glib de ce programme, j'ai encor la version 2.6.4 de glib ... alor que j'ai installé la 2.8.4 ..
j'ai trouvé dans l'aide à l'installation de glib ces conseils :
Installation directories
========================
The location of the installed files is determined by the --prefix
and --exec-prefix options given to configure. There are also more
detailed flags to control individual directories. However, the
use of these flags is not tested.
One particular detail to note, is that the architecture-dependent
include file glibconfig.h is installed in:
$exec_prefix/lib/glib/include/
if you have a version in $prefix/include, this is out of date
and should be deleted.
.pc files for the various libraries are installed in
$exec_prefix/lib/pkgconfig to provide information when compiling
other packages that depend on GLib. If you set PKG_CONFIG_PATH
so that it points to this directory, then you can get the
correct include flags and library flags for compiling a GLib
application with:
pkg-config --cflags glib-2.0
pkg-config --libs glib-2.0
j'ai essayé de taper les deux dernière line dans shell mais rien ne change .