Hi,
I want to make a mof repository with orbitcpp, i use idl files from here
:
http://www.lifl.fr/~mullera/mof/
But when i try to compile the generated (by "orbit-idl-2 -I. -l cpp
Model.idl") files i obtain this error :
# gcc -c -I/usr/include/orbitcpp-2.0/ `orbit2-config --cflags`
Model-cpp-common.cc
In file included from Model-cpp-stubs.h:11,
from Model-cpp-common.cc:6:
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/smartpointers/objectptr_var.h: In
constructor `_orbitcpp::ObjectPtr_var<O>::ObjectPtr_var() [with O =
Reflective::RefObject]':
Model-cpp-common.h:335: instantiated from here
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/smartpointers/objectptr_var.h:42: error: incomplete
type 'Reflective::RefObject' cannot be used to name a scope
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/smartpointers/objectptr_var.h: In
member function `void _orbitcpp::ObjectPtr_var<O>::free() [with O =
Reflective::RefObject]':
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/smartpointers/objectptr_var.h:53: instantiated from `_orbitcpp::ObjectPtr_var<O>::~ObjectPtr_var() [with O = Reflective::RefObject]'
...
Can you help me to solve it please ?
--
Alexis Muller
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite de Lille 1 - 59655 Villeneuve d'Ascq Cedex
Email : Alexis Muller lifl fr - Web : http://www.lifl.fr/~mullera
Attachment:
signature.asc
Description: This is a digitally signed message part