RE: [orbitcpp-list] Compilation error; can't find file.
Status: Beta
Brought to you by:
philipd
From: Alix P. <al...@no...> - 2002-12-16 21:10:17
|
When I run the IDL compiler for c++ binding generation as: $/usr/bin/orbit-idl --backenddir=/usr/bin -l c++ Og.idl it does NOT seem to produce any file named Og.h, but this file is referenced in Og-cpp-common.hh! In the case of orbit with c-binding, when I run the IDL compiler, it does produce the Og.h! $/usr/bin/orbit-idl Og.idl produces the following files: Og-common.c Og-skels.c Og-stubs.c Og.h with Og.h being referenced in Og-common.c, Og-skels.c, Og-stubs.c I thought the Og.h is produced only in the case of c-bindings! Am I wrong? * Alix Pouladdej Nortel Networks Advanced Technology (ATI) www http://navigate.us.nortel.com/ati * Tel: (613) 765-6043 Esn: (6+) 395-6043 * E-mail: mailto:al...@no... * Fax: (613) 765-0678 -----Original Message----- From: Sam Couter [mailto:sa...@co...] Sent: Monday, December 16, 2002 3:59 PM To: Pouladdej, Alix [CAR:0V11:EXCH] Cc: orb...@li... Subject: Re: [orbitcpp-list] Compilation error; can't find file. Alix Pouladdej <al...@no...> wrote: > g++ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/orbit-1.0 -c OgServer.cc > In file included from Og-cpp.hh:6, > from OgServer.hh:4, > from OgServer.cc:11: > Og-cpp-common.hh:13: Og.h: No such file or directory > But a file like Og.h is produced when orbit-idl is run without -l c++ option > for a c-binding. Where is the Og.h file? It needs to be in the current directory or a directory listed with a -I option, otherwise the compiler won't be able to find it. -- Sam "Eddie" Couter | mailto:sa...@co... Debian Developer | mailto:ed...@de... | jabber:sa...@te... OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |