Hello,

I want to embed mozilla browser into my wxWidgets aplication

first I tried to run a test TestGtkEmbed.cpp (http://mxr.mozilla.org/seamonkey/source/embedding/browser/gtk/tests/)

I'm using debian lenny (2.6.26-1-686) I've installed some packages, what I need - xulrunner-dev (version 1.9.0.4-2) and it's dependencies.
I compiled it like this :
g++ TestGtkEmbed.cpp `pkg-config --cflags --libs mozilla-gtkmozembed libxul-embedding gtk+-2.0` I got some warnings about redefinition "NS_HIDDEN" "NS_IMPORT_" "NS_EXPORT_", but no any error a tried to run ./a.out but got SIGSEGV in point where the function gtk_moz_embed_set_path is used

I'm trying to do a more simple test whenever I use some function gtk_moz_embed_xxxxx I've got SIGSEGV

which packages I need? How should I compile my source files properly?
I really need any funcional solution, should I embed mozilla|firefox|iceweasel in some other way?? how? Thank you
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to