Question: i have written a program under ubuntu, in which i include gtkmozembed.h. I am facing a problem in compiling the program.Below is the simplest form of a program which uses gtkmozembed.

```
#include <gtk/gtk.h>
#include <stdio.h>
#include <gtkmozembed.h>

int main(){
        GtkWidget *mozEmbed;
        mozEmbed = gtk_moz_embed_new();
        return 0;
}

```

Eventhough, the above program is doing nothing, compiling that program is a lot for me...
I am trying to comile the above program like below

```
gcc `pkg-config --libs --cflags gtk+-2.0` test.c -o test

```

and it is giving the following error...

```
error: gtkmozembed.h: No such file or directory

```

I can understand, something else has to be added to the above gcc line,so that the compiler can find the gtkmozembed.h, but not getting what is that, 'something'...Looking for someone's help..Thank you...

Answer: 
Install libxul-dev (`sudo apt-get install libxul-dev`) and include

```
#include <gtkmozembed.h>

```

in the main file(test.c) and compile with

```
gcc `pkg-config --cflags --libs gtk+-2.0 xulrunner-gtkmozembed`  test.c -o test

```
Try this:

```
gcc `pkg-config --libs --cflags gtk+-2.0 mozilla-gtkmozembed-embedding` test.c -o test

```