1 |
I've got the following problem: |
2 |
|
3 |
Yesterday I emerged gtkmm.... after that I tried to compile the most |
4 |
simple exampleprog. from |
5 |
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html#id2431489. |
6 |
This program starts with #include <gtkmm.h> which directly leads to my |
7 |
problem, because the compiler complains that he can't find that file. |
8 |
|
9 |
So I tried |
10 |
|
11 |
sputnik / # find -depth -name gtkmm.h |
12 |
./usr/include/gtkmm-2.0/gtkmm.h |
13 |
|
14 |
and then passed the option -I /usr/include/gtkmm-2.0/gtkmm.h to g++. |
15 |
That actually made a difference. The output of g++ is now serveral pages |
16 |
long and starts with |
17 |
|
18 |
..... |
19 |
glibmmconfig.h: No such file or directory |
20 |
..... |
21 |
glib-object.h: No such file or directory |
22 |
..... |
23 |
glib/gmem.h: No such file or directory |
24 |
..... |
25 |
glib/gunicode.h: No such file or directory |
26 |
..... |
27 |
glib/gmacros.h: No such file or directory |
28 |
.... |
29 |
glib/gstrfuncs.h: No such file or directory |
30 |
.... |
31 |
|
32 |
Again I searched for the listed header files, which I all got and |
33 |
finally I tried |
34 |
|
35 |
g++ -I /usr/include/gtkmm-2.0/ -I /usr/include/glib-2.0/ -I |
36 |
/usr/lib/gtkmm-2.0/include/ -I /usr/lib/glib-2.0/include/ gtkmm-ue1.C -o |
37 |
gtkmm-ue1 |
38 |
|
39 |
The output from g++ is now to long to fit into the the buffer of my |
40 |
terminal-window, and for some reason g++ .... > file doesn't work. I |
41 |
guess that g++ still misses some headers ..... |
42 |
|
43 |
Finaly my question: |
44 |
|
45 |
Is it possible that the e-build I emerged is not correctly configured ? |
46 |
Does anybody know how I could fix these problems - or should I try to |
47 |
get gtkmm direktly from http://www.gtkmm.org/ ? |
48 |
|
49 |
Thanks, |
50 |
Matthias |
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
-- |
58 |
gentoo-dev@g.o mailing list |