Re: [gtkmm] Glade2/g++/autogen.sh build/link errors



scott adrenaline com wrote:
I'm trying (hard) to get a glade2/g++ development environment setup,
and having some problems. I used to write quite a bit of C and C++ code
for Dos and then Windows, but I'm very new to Linux C++ programming
and it's application build discipline.

For Glade2/Gnome projects, I get an interesting link error when running
./autogen.sh during what I think is the link phase.

g++: /usr/lib/libgnomecanvas-2.so: No such file or directory
g++: /usr/lib/libart_lgpl_2.so: No such file or directory
g++: /usr/lib/libbonobo-2.so: No such file or directory
g++: /usr/lib/libxml2.so: No such file or directory
g++: /usr/lib/liblinc.so: No such file or directory

The files I can find in my /usr/lib with the closest names are:

libbonobo-2.so.0 and libbonobo-2.so.0.0.0
libart_lgpl_2.so.2 and libart_lgpl_2.so.2.3.11
libgnomecanvas-2.so.0 and libgnomecanvas-2.so.0.300.0
libxml.2.so.2 and libxml2.so.2.5.6
liblinc.so.1 and liblink.so.1.0.0

I'm running:
  - Redhat 9 with updated Gnome RPMs from NyQuist
  - glade-2 v. 2.0.0
  - autoconf v. 2.57
  - automake v. 1.6.3
	
I appreciate any help I can get on this problem or pointers on how
to otherwise refine my environment for developing Gnome apps. I'm
eager to put build woes behind me and dive into the Gnome API's.

Thanks!

Scott


From a Redhat 9 "Workstation" install with "everything" checked, the environment that I have setup is as follows:

1.wxGTK – 2.4.0 (optional, but needed to make Anjuta happy)
2.Anjuta – 1.0.2
3.libsigc++ -- 1.2.4 (required for gtkmm)
4.gtkmm – 2.2.1
5.glade-2.0.0.tar.gz
5.libglademm – 2.0.1

I also had to set the PKG_CONFIG_PATH to make Anjuta happy.

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

Also download the "Alpha" version of MySQL for database support. Install from the RPM, not the "binary distribution". I'm using Anjuta to write C++ code, using glade-2 to create the user interface .glade file, and libglademm to read the .glade/xml file.

We are converting a MS Visual Basic application to Linux, and this setup is working great. The c++ code generated by glade-2 was too difficult to map to this conversion project, so we only use the glade file.

We are creating a GTK only application, not a gnome application. I really don't understand the difference, but the GTK kit seems to have everything we need.

Good Luck,

Jeff




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