2

I have sudo apt-get install glibmm* and it shows I have installed all the libraries about it. But when I link it with libxml++-2.6, it shows no glibmmconfig.h. I have searched Google, somebody says it is in /usr/lib/glibmm-2.4/include, but the path does not exist. What's wrong?

mining
  • 3,557
  • 5
  • 39
  • 66

1 Answers1

2

The file glibmmconfig.h is part of package libglibmm-2.4-dev and will be installed in one of the following locations depending on your architecture:

/usr/lib/x86_64-linux-gnu/glibmm-2.4/include/glibmmconfig.h
/usr/lib/i386-linux-gnu/glibmm-2.4/include/glibmmconfig.h

To get a list of compiler flags needed to compile code using libxml++2.6, run:

pkg-config --cflags libxml++-2.6

To get a list of link flags, run

pkg-config --libs libxml++-2.6
nwellnhof
  • 32,319
  • 7
  • 89
  • 113
  • Thanks, sir. I finally found it in the `/usr/lib/x86_64-linux-gnu/glibmm-2.4/include/glibmmconfig.h`. Why doesn't the package put the files in a regular way? – mining Oct 09 '13 at 23:37