Re: compile simple example of gtkmozembedmm by myself
- From: Tobias Eberle <tobias eberle gmx de>
- To: gtkmm-list gnome org
- Subject: Re: compile simple example of gtkmozembedmm by myself
- Date: Fri, 17 Feb 2006 23:34:01 +0100
Hello,
> When you downloaded, extracted, decompressed, configured, made and
> installed the gtkmozembedmm tarball, how did you do it?
I installed gtkmozembedmm into /usr/local. The examples are compiled
fine by using the shipped makefiles. I want to compile it by myself
because I want to see how it works and how I must compile my own app
hopefully using it in the future.
> The error messages you list seem to indicate that pkg-config cannot find
> the gtkmozembedmm.pc file, so the rest of the include and link
> information is missing.
tobias darkblue:~$ pkg-config gtkmozembedmm --cflags --libs
-I/usr/local/include/gtkmozembedmm-0.1 -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/mozilla/gtkembedmoz
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mozilla -I/usr/include/mozilla/xpcom
-I/usr/include/mozilla/string -I/usr/include/mozilla/nspr
$(GTKMOZEMBED_RPATH) -L/usr/local/lib -L/usr/lib/mozilla
-lgtkmozembedmm-0.1 -lglibmm-2.4 -lgtkembedmoz -lgobject-2.0 -lsigc-2.0
-lglib-2.0 -lxpcom -lplds4 -lplc4 -lnspr4 -ldl -lc -lpthread
As you can see pkg-config does find gtkmozembedmm.pc. In the -I
list /usr/local/include/gtkmozembedmm/ is missed. This is the directory
where the header file webcontrol.h is installed. If I add it manually I
get lot of other errors:
g++ main.cc `pkg-config gtkmm-2.4 gtkmozembedmm --cflags --libs`
-I/usr/local/include/gtkmozembedmm -o simple
g++: $(GTKMOZEMBED_RPATH): No such file or directory
In file included from main.cc:23:
/usr/local/include/gtkmozembedmm/gtkmozembedmm/webcontrol.h:32:28:
error: nsIDOMKeyEvent.h: No such file or directory
/usr/local/include/gtkmozembedmm/gtkmozembedmm/webcontrol.h:598: error:
'nsIDOMKeyEvent' was not declared in this scope
[...]
I think that this is where $(GTKMOZEMBED_RPATH) does its work, but I
dont know what value I should assign to it and how to assign it.
Thank you!
Bye, Tobias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]