[orbitcpp-list] Newbie: Problem compiling oaf.idl ...
Status: Beta
Brought to you by:
philipd
From: Omar B. <ben...@ct...> - 2001-10-31 14:05:09
|
Hi, Well I am newbie to orbitcpp (actually orbit too). I tried to compile the oaf.idl stubs to try using oaf services as client. I compiled the C binding just fine (except a warning about using underscores in identifiers ...) but i have my files. but when I try to compile Cpp binding I type : [omar@benhamid gen]$ orbit-idl -lc++ --noskels /usr/share/idl/oaf.idl and here's what i get ... /usr/share/idl/oaf-factory.idl:24: Warning: `obj_oaf_id' underscores within identifiers are discouraged for use with C-language IDL mappings /usr/share/idl/oaf.idl:33: codefrag not expected in my folder i got all .hh and .cc files (including skeletons) with only a comment. here is config information about my framework and i am using orbitcpp 0.30.1 on a mandrake 8.1 distribution: [omar@benhamid gen]$ oaf-config --version 0.6.6 [omar@benhamid gen]$ orbit-config --version ORBit 0.5.8 and at last here are the first 33 lines of my oaf.idl: [omar@benhamid omar]# head -n 33 /usr/share/idl/oaf.idl /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ /* * oaf.idl: IDL definition of the OAF daemon CORBA interfaces. * * Copyright (C) 1999, 2000 Red Hat, Inc. * Copyright (C) 1999, 2000 Eazel, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this library; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Authors: Elliot Lee <so...@re...>, * */ #ifndef __OAF_IDL__ #define __OAF_IDL__ #if !defined(OAF_COMPILATION) && defined(__ORBIT_IDL__) %{ #pragma include_defs liboaf/oaf.h %} #pragma inhibit push /* <-- Line 33 it crashes here. */ -- Omar Benhamid Ecole Centrale de Paris mailto:ben...@ct... |