Re: libgdamm.h: No such file or directory



On Sat, Aug 02, 2014 at 10:15:23PM +0800, Lee Martin CCNP wrote:
Hi 

Sorry for the late reply. Please remember to always cc the list, that
way you may get quicker responses.

After using 

pkg-config gtkmm-3.0 libgdamm-5.0 --cflags --libs

got errors

wonder wonder-VirtualBox:~/qsort$ g++ main.c -o main `pkg-config gtkmm-3.0 libgdamm-5.0 --cflags --libs`
Package libgdamm-5.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgdamm-5.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgdamm-5.0' found
main.c:13:19: fatal error: gtkmm.h: No such file or directory
compilation terminated.
wonder wonder-VirtualBox:~/qsort$ g++ main.c -o main `pkg-config gtkmm-3.0 libgdamm-5.0-13 --cflags --libs`
Package libgdamm-5.0-13 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgdamm-5.0-13.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgdamm-5.0-13' found
main.c:13:19: fatal error: gtkmm.h: No such file or directory
compilation terminated.
wonder wonder-VirtualBox:~/qsort$

Looks like you don't have libgdamm-5.0.pc installed. It's the file which
pkg-config takes the compiler flags from. Make sure it's installed by
installing the development package for libgdamm. It's probably called
something like libgdamm5.0-dev.

                Marcus


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]