Problem compiling with Corba Support (TAO 1.5)

I have installed the newest version of TAO (1.5) on my system. when I compile rtt-orocos I get several errors concerning the Any_var type

=====================================================================================0
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16: error: template argument 1 is invalid
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:21: error: ‘Any_var’ in namespace ‘CORBA’ does not name a type
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:33: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:33: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:33: error: template argument 1 is invalid
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:33: error: expected ‘;’ before ‘get’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:35: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:35: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:35: error: template argument 1 is invalid
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:35: error: expected ‘;’ before ‘value’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:17: warning: ‘class RTT::Corba::AnyDataSource’ has virtual functions but non-virtual destructor
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp: In constructor ‘RTT::Corba::AnyDataSource::AnyDataSource(CORBA::Any*)’:
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:12: error: class ‘RTT::Corba::AnyDataSource’ does not have any field named ‘mdata’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp: At global scope:
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:16: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:16: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:16: error: template argument 1 is invalid
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:16: error: expected initializer before ‘AnyDataSource’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:22: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:22: error: ‘Any_var’ is not a member of ‘CORBA’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:22: error: template argument 1 is invalid
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:22: error: expected initializer before ‘AnyDataSource’
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp: In member function ‘virtual RTT::Corba::AnyDataSource* RTT::Corba::AnyDataSource::clone() const’:
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:30: error: ‘mdata’ was not declared in this scope
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.cpp:30: error: invalid use of undefined type ‘struct CORBA::Any’
/home/eich/ACE_wrappers/TAO/tao/Basic_Types.h:90: error: forward declaration of ‘struct CORBA::Any’
make[2]: *** [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/AnyDataSource.o] Fehler 1
make[1]: *** [src/corba/CMakeFiles/orocos-rtt-corba_dynamic-gnulinux.dir/all] Fehler 2
=====================================================================================0

Is orocos not compatible with TAO 1.5?

Best

Markus

Problem compiling with Corba Support (TAO 1.5)

On Thursday 22 May 2008 15:40:41 Tesgane wrote:
> I have installed the newest version of TAO (1.5) on my system. when I
> compile rtt-orocos I get several errors concerning the Any_var type
>
> ===========================================================================
>==========0
> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16: error:
> ‘Any_var’ is not a member of ‘CORBA’

> Is orocos not compatible with TAO 1.5?

There has been some effort to make RTT 1.6 (the next release) compatible with
TAO 1.5. RTT 1.4.x is only compatible with TAO 1.3 or 1.4.

A previous report noted that the header name has changed to
tao/AnyTypeCode/Any.h

Could you try the following:

cd orocos-rtt-1.4.1
patch -p0 < tao-any.patch

and recompile ?

Peter

Problem compiling with Corba Support (TAO 1.5)

Thank you Peter, that seemed to work, almost.

but when calling 'make install' it produces the following error:
=====================================================================
/home/eich/orocos/orocos-rtt-1.4.1/src/corba/cmake_install.cmake:94:
FILE INSTALL cannot find file
"/home/eich/orocos/orocos-rtt-1.4.1/src/corba/ServicesS_T.h" to install.
Current CMake stack:
/home/eich/orocos/orocos-rtt-1.4.1/cmake_install.cmake;/home/eich/orocos/orocos-rtt-1.4.1/src/cmake_install.cmake;/home/eich/orocos/orocos-rtt-1.4.1/src/corba/cmake_install.cmake
make: *** [install] Fehler 255
=====================================================================

'src/corba/ServicesS_T.h'

seems to be missing

Cheers,

Markus

Peter Soetens schrieb:
> On Thursday 22 May 2008 15:40:41 Tesgane wrote:
>
>> I have installed the newest version of TAO (1.5) on my system. when I
>> compile rtt-orocos I get several errors concerning the Any_var type
>>
>> ===========================================================================
>> ==========0
>> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16: error:
>> 'Any_var' is not a member of 'CORBA'
>>
>
>
>
>> Is orocos not compatible with TAO 1.5?
>>
>
> There has been some effort to make RTT 1.6 (the next release) compatible with
> TAO 1.5. RTT 1.4.x is only compatible with TAO 1.3 or 1.4.
>
> A previous report noted that the header name has changed to
> tao/AnyTypeCode/Any.h
>
> Could you try the following:
>
> cd orocos-rtt-1.4.1
> patch -p0 < tao-any.patch
>
> and recompile ?
>
> Peter
>

Problem compiling with Corba Support (TAO 1.5)

On Thursday 22 May 2008 18:16:03 Markus Eich wrote:
> Thank you Peter, that seemed to work, almost.
>
> but when calling 'make install' it produces the following error:
> =====================================================================
> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/cmake_install.cmake:94:
> FILE INSTALL cannot find file
> "/home/eich/orocos/orocos-rtt-1.4.1/src/corba/ServicesS_T.h" to install.
> Current CMake stack:
> /home/eich/orocos/orocos-rtt-1.4.1/cmake_install.cmake;/home/eich/orocos/or
>ocos-rtt-1.4.1/src/cmake_install.cmake;/home/eich/orocos/orocos-rtt-1.4.1/sr
>c/corba/cmake_install.cmake make: *** [install] Fehler 255
> =====================================================================
>
>
> 'src/corba/ServicesS_T.h'
>
> seems to be missing

The *_T.h files are no longer generated in TAO >= 1.5. Apply the patch in
attachment and try to re-install.

cd orocos-rtt-1.4.1
patch -p0 < fix-config-tao-1.5.patch

Hope this helps !

Peter

>
> Cheers,
>
> Markus
>
> Peter Soetens schrieb:
> > On Thursday 22 May 2008 15:40:41 Tesgane wrote:
> >> I have installed the newest version of TAO (1.5) on my system. when I
> >> compile rtt-orocos I get several errors concerning the Any_var type
> >>
> >> ========================================================================
> >>=== ==========0
> >> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16:
> >> error: 'Any_var' is not a member of 'CORBA'
> >>
> >>
> >>
> >>
> >> Is orocos not compatible with TAO 1.5?
> >
> > There has been some effort to make RTT 1.6 (the next release) compatible
> > with TAO 1.5. RTT 1.4.x is only compatible with TAO 1.3 or 1.4.
> >
> > A previous report noted that the header name has changed to
> > tao/AnyTypeCode/Any.h
> >
> > Could you try the following:
> >
> > cd orocos-rtt-1.4.1
> > patch -p0 < tao-any.patch
> >
> > and recompile ?
> >
> > Peter

Problem compiling with Corba Support (TAO 1.5)

Peter Soetens schrieb:
> On Thursday 22 May 2008 18:16:03 Markus Eich wrote:
>
>> Thank you Peter, that seemed to work, almost.
>>
>> but when calling 'make install' it produces the following error:
>> =====================================================================
>> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/cmake_install.cmake:94:
>> FILE INSTALL cannot find file
>> "/home/eich/orocos/orocos-rtt-1.4.1/src/corba/ServicesS_T.h" to install.
>> Current CMake stack:
>> /home/eich/orocos/orocos-rtt-1.4.1/cmake_install.cmake;/home/eich/orocos/or
>> ocos-rtt-1.4.1/src/cmake_install.cmake;/home/eich/orocos/orocos-rtt-1.4.1/sr
>> c/corba/cmake_install.cmake make: *** [install] Fehler 255
>> =====================================================================
>>
>>
>> 'src/corba/ServicesS_T.h'
>>
>> seems to be missing
>>
>
> The *_T.h files are no longer generated in TAO >= 1.5. Apply the patch in
> attachment and try to re-install.
>
> cd orocos-rtt-1.4.1
> patch -p0 < fix-config-tao-1.5.patch
>
> Hope this helps !
>
> Peter
>

Perfect. Now its working.

Best,

Markus

>
>> Cheers,
>>
>> Markus
>>
>> Peter Soetens schrieb:
>>
>>> On Thursday 22 May 2008 15:40:41 Tesgane wrote:
>>>
>>>> I have installed the newest version of TAO (1.5) on my system. when I
>>>> compile rtt-orocos I get several errors concerning the Any_var type
>>>>
>>>> ========================================================================
>>>> === ==========0
>>>> /home/eich/orocos/orocos-rtt-1.4.1/src/corba/AnyDataSource.hpp:16:
>>>> error: 'Any_var' is not a member of 'CORBA'
>>>>
>>>>
>>>>
>>>>
>>>> Is orocos not compatible with TAO 1.5?
>>>>
>>> There has been some effort to make RTT 1.6 (the next release) compatible
>>> with TAO 1.5. RTT 1.4.x is only compatible with TAO 1.3 or 1.4.
>>>
>>> A previous report noted that the header name has changed to
>>> tao/AnyTypeCode/Any.h
>>>
>>> Could you try the following:
>>>
>>> cd orocos-rtt-1.4.1
>>> patch -p0 < tao-any.patch
>>>
>>> and recompile ?
>>>
>>> Peter
>>>
>
>
>
>