Hi, config.h file is not in standard include path. So you need to provide the include path of config.h to the compiler explicitly as gcc -I.. -o test `pkg-config --cflags --libs loudmouth-1.0` test-lm.c // if compiling from examples directory gcc -I<full path to loudmout directory> -o test `pkg-config --cflags --libs loudmouth-1.0` <path>/test-lm.c // compiling from any directory
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of ext Rafael Mendoza Sent: Tuesday, January 30, 2007 3:20 AM To: [email protected] Subject: [Loudmouth] linking config.h Hello everyone I am trying to compile the example test-lm.c using the following command gcc -o test `pkg-config --cflags --libs loudmouth-1.0` test-lm.c and I am getting this error errror: config.h : No such file or directory can somebody give any hints as to what the problems is? regards Rafael Mendoza
