[pkg-config] Glib not found

Vincenzo Urso Miano ursomiano at googlemail.com
Tue Mar 23 08:34:29 PDT 2010

I am trying to compile a fortran source file which uses plplot. A
graphic library.

I type:
cd c:"\Program Files\plplot\share\plplot5.9.5\examples\f77"
set PKG_CONFIG_LIBDIR=c:\GTK\Glib\bin;"C:\Program
Files\plplot\bin";"C:\Program Files\plplot\lib\pkgconfig";c:"\Program
bash$ gcc -o test x01f.f `pkg-config --libs --cflags plplotd`

c:\GTK\Glib\bin is the path to libglib-2.0-0.dll
"C:\Program Files\plplot\bin" is the path to libplplotd.dll
C:\Program Files\plplot\lib\pkgconfig is the path to plplotd.pc

I get an error because glib is not found glib-2.0-0

Could you help me?

More information about the pkg-config mailing list