Re: [Dbus-cxx-users] examples outside dbus-cxx source tree?
Status: Beta
Brought to you by:
rvinyard
From: Rick L. V. Jr. <rvi...@cs...> - 2010-06-24 14:42:38
|
camillo sir wrote: > Hi there, > > i' m quite new to dbus / dbus-cxx and currently start to work on a > prototyping project where i intend to use dbus-cxx. i've installed the > usual > way on a debian system > (./configure - make - make install) and installation including provided > examples worked well (with exception of the tools folder where make doesnt > do anything, but i currently dont need this so its no issue for me now). > however i run into troubles when setting up an autotools project living > independent of the source tree of dbus-cxx itself since configure.ac / > automake.am's of development tree and examples are highly interconnected. > googling for examples didnt point me to anything except the examples > provided with the dbus-cxx tarball. > can anyone point me to some examples which only assume dbus-cxx, sigc++, > dbus itself and boost are installed on the system but without > interdependencies to the development tree? help would be greatly > appreciated. > I have two other projects that are out of the dbus-cxx that use dbus-cxx, so you may want to dig through their Makefile.am and configure.ac files for examples. The projects are conexus (http://conexus.sf.net) and g13 (http://g13.sf.net). The g13 library isn't released yet, so you'll have to dig through the subversion repo, but the autotools stuff is probably simpler than conexus. The key thing is the pkgconfig stuff to pull in the dependencies. Make sure you also look at the Makefile.am in the conexus-dbus subdirectory since that's where the specific lib pulls in the CFLAGS and LIBS from pkgconfig. -- Rick |