Re: [glade--]Compiling GUI source code error





José Luiz Bittencourt wrote:
Please, if you find a working configuration on
RH8.0, post it on this list
(which libraries, which versions, which compiler).


I´m working with RH8.0 and GTK. So, I think it can
help you.
After installing RH8.0 I got the APT package from this
link because I feel more confortable with this
frontend:
http://ftp.freshrpms.net/pub/freshrpms/psyche/apt/apt-0.5.4cnc9-fr1.i386.rpm

So, I installed it and typed the follow commands:
apt-get update
apt-get install gtkmm
apt-get install gtkmm-devel (if you want)
apt-get install glade (I´m not sure if I did
it)
apt-get install gnomemm
apt-get install anjuta (great for me)
Another dependencies can be installed in the same
way...
Finally, I got glademm and compiled it.

Good luck.

José Luiz Bittencourt



I did what you said and now I get some new errors, it seems to not be finding some of the needed header files.
When building source code from glademm:

Unknown library `gnomemm'
error parsing version std::string '1.4.1.2
gnome-config --modversion gnomemm: strange result 'gnome-libs-1.4.1.2'
Changed dir to /home/Virtual/cs_205/gui_11
Unknown library `gnomemm'
error parsing version std::string '1.4.1.2
gnome-config --modversion gnomemm: strange result 'gnome-libs-1.4.1.2'
Found pkg-config version 0.12.0
Generating code for gtk 1.2.10 (pkg-config), gtkmm 1.2.10 (gtkmm-config)

when configuring:
checking what language compliance flags to pass to the C compiler...
Unknown library `gnomemm'
Unknown library `gnomemm'
configure: creating ./config.status

make:
ui_11.cc:9:26: gnome--/main.h: No such file or directory
In file included from /usr/include/gtk--/object.h:30,
                 from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from maingwin01_glade.hh:13,
                 from maingwin01.hh:13,
                 from gui_11.cc:11:
/usr/include/gtk--/base.h:27:25: gtk--config.h: No such file or directory
In file included from /usr/include/gdk--.h:28,
                 from /usr/include/gtk--/base.h:33,
                 from /usr/include/gtk--/object.h:30,
                 from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from maingwin01_glade.hh:13,
                 from maingwin01.hh:13,
                 from gui_11.cc:11:
/usr/include/gdk--/types.h:27:25: gdk--config.h: No such file or directory
In file included from /usr/include/gdk--/types.h:365,
                 from /usr/include/gdk--.h:28,
                 from /usr/include/gtk--/base.h:33,
                 from /usr/include/gtk--/object.h:30,
                 from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from maingwin01_glade.hh:13,
                 from maingwin01.hh:13,
                 from gui_11.cc:11:

It can't find some stuff and I don't know why.  A stronger background in Linux would help.  I'm looking around for people here to help me with it.   Thanks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]