how to compile a program with gtkmozembed.h

Posted by ganapati hegde on Stack Overflow See other posts from Stack Overflow or by ganapati hegde
Published on 2010-04-16T14:29:52Z Indexed on 2010/04/16 14:33 UTC
Read the original article Hit count: 337

Filed under:
|
|
|
|

Hi, 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...

© Stack Overflow or respective owner

Related posts about gtk

Related posts about mozilla