Re: evolution idl generation
- From: Bowie Owens <bowie owens csiro au>
- To: Bryan Forbes <bryan reigndropsfall net>
- Cc: orbitcpp-list gnome org
- Subject: Re: evolution idl generation
- Date: Tue, 28 Sep 2004 08:53:44 +1000
Bryan Forbes wrote:
I'm trying to generate some orbit classes to wrap evolution-data-
server's API and it relies heavily on bonobo.
I'm pleased to hear that. I don't think libbonobomm has really be used
seriously so we need someone to test it. But that means you are probably
in for a bit of grief. I'll help as much as I can though.
I've been trying to
generate the cpp source with orbitcpp like this:
orbit-idl-2 --headerguardprefix=EVOLUTION_CALMM_ -
I /usr/share/idl/evolution-data-server-1.0 -I /usr/share/idl/bonobo-2.0
-I /usr/share/idl/bonobo-activation-2.0 /usr/share/idl/evolution-data-
server-1.0/Evolution-DataServer-Calendar.idl
orbit-idl-2 -lcpp -D__GNOME_Evolution_Calendar_CalView_COMPILATION -
I /usr/include/libbonobomm-2.6/bonobomm/ -I /usr/share/idl/evolution-
data-server-1.0 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-
activation-2.0 /usr/share/idl/evolution-data-server-1.0/Evolution-
DataServer-Calendar.idl
but I get this error: /usr/share/idl/bonobo-
activation-2.0/Bonobo_Unknown.idl:28: unknown
identifier ::Bonobo::Unknown
I know ::Bonobo::Unknown is defined in libbonobomm, but I'm not sure how
to tell orbitcpp that. Thanks in advance!
Better than that
/usr/share/idl/bonobo-activation-2.0/Bonobo_Unknown.idl:28 is where
Bonobo::Unknown is defined.
What happens if you add -D__Bonobo_Unknown_COMPILATION to the
orbit-idl-2 arguments. Without it Bonobo::Unknown is pragma inhibit'ed.
I know there is an outstanding bug
(http://bugzilla.gnome.org/show_bug.cgi?id=101455) which exists because
we only partially support inhibit'ing stuff. But Bonobo::Unknown is
something that should work.
--
Bowie Owens
CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
fax : +61 3 9545 8080
mobile : 0425 729 875
email : Bowie Owens csiro au
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]