I join the project BuildLog.
I create rtt from Orocos Toolchain 2.1.0 using cmake with TAO corba implementation. I used ACE/TAO v5.8, Boost v1.42 (didn't work on 1.38 nor 1.44). I build without boost_thread.
I comment those lines in RTTCorbaConven.hpp which compile succesfully but when running our test application it encounter a Run-Time check failure #3 for an uninitialized value in CorbaTemplateProtocol.hpp at lines 112.
template<> struct RTT_CORBA_API AnyConversion0 : public AnyConversionHelper1 {}; template<> struct RTT_CORBA_API AnyConversion2 : public AnyConversionHelper3 {}; template<> struct RTT_CORBA_API AnyConversion4 : public AnyConversionHelper<int, CORBA::Long> {}; //template<> //struct RTT_CORBA_API AnyConversion5 : public AnyConversionHelper6 {};template<> struct RTT_CORBA_API AnyConversion<unsigned int> : public AnyConversionHelper<unsigned int, CORBA::ULong> {};
If you need any more information, just ask.
Thank you
Simon
Attachment | Size |
---|---|
BuildLog.txt | 50.48 KB |
Link Build Error while compiling rtt-transport-corba-win32_plugi
On Friday 29 October 2010 21:30:25 ookki [..] ... wrote:
> I join the project BuildLog.
>
> I create rtt from Orocos Toolchain 2.1.0 using cmake with TAO corba
> implementation. I used ACE/TAO v5.8, Boost v1.42 (didn't work on 1.38 nor
> 1.44). I build without boost_thread.
>
> I comment those lines in RTTCorbaConven.hpp which compile succesfully but
Which lines in which file is that ?
> when running our test application it encounter a Run-Time check failure #3
> for an uninitialized value in CorbaTemplateProtocol.hpp at lines 112.
I know, but it's not a bug. We write that address, we don't read it. We could
change it to:
PropertyType value = PropertyType();
>
> template<>
> struct RTT_CORBA_API AnyConversion<double> : public
> AnyConversionHelper<double> {};
>
> template<>
> struct RTT_CORBA_API AnyConversion<float> : public
> AnyConversionHelper<float> {};
>
> template<>
> struct RTT_CORBA_API AnyConversion<int> : public AnyConversionHelper<int,
> CORBA::Long> {};
>
> //template<>
> //struct RTT_CORBA_API AnyConversion<long> : public
> AnyConversionHelper<long> {};
>
> template<>
> struct RTT_CORBA_API AnyConversion<unsigned int> : public
> AnyConversionHelper<unsigned int, CORBA::ULong> {};
>
> If you need any more information, just ask.
I am aware of a linking bug in the generated CMake code for typegen generated
CORBA transports. This is on the top of the list to be fixed in typegen.
Peter