Hi,
I'm trying to compile 2.0.2 and I have a compile error in:
Building CXX object
rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/extras/dev/PulseTrainGeneratorInterface.cpp.o
this file that an include:
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp
and in the line 245, the compiler complains about it:
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:245:
error: type ‘RTT::dev::NameServer<_ValueType>’ is not derived from
type ‘RTT::dev::NameServer<_ValueType>::value_iterator’
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:245:
error: expected ‘;’ before ‘i’
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:311:
error: type ‘RTT::dev::NameServer<_ValueType>’ is not derived from
type ‘RTT::dev::NameServer<_ValueType>::name_iterator’
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:311:
error: expected ‘;’ before ‘i’
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:
In
constructor ‘RTT::dev::NameServer<_ValueType>::value_iterator::value_iterator(typename
std::map<std::basic_string
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:248:
error: class ‘RTT::dev::NameServer<_ValueType>::value_iterator’ does not have
any field named ‘i’
/home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchain-2.0.2/rtt/rtt/extras/dev/NameServer.hpp:
In member function ‘_ValueType
RTT::dev::NameServer<_ValueType>::value_iterator::operator*()’:
looking on the differences between 2.0.1 and 2.0.2 I have found:
@@ -242,7 +242,7 @@
#endif
{
protected:
- NameServer::iterator i;
+ iterator i;
public:
value_iterator( iterator _i ) : i( _i )
@@ -308,7 +308,7 @@
{
protected:
- NameServer::iterator i;
+ iterator i;
public:
my version of gcc is 4.3.2
any idea?
regards,
Leo
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
orocos rtt 2.0.2 doesn't compile
On Wednesday 06 October 2010 17:01:54 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> I'm trying to compile 2.0.2 and I have a compile error in:
>
> Building CXX object
> rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/extras/dev/PulseTrainGenerat
> orInterface.cpp.o
>
> this file that an include:
>
> /home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolchai
> n-2.0.2/rtt/rtt/extras/dev/NameServer.hpp
>
> and in the line 245, the compiler complains about it:
...
This was a fix for another compiler. Can you test that replacing
NameServer::iterator
with
typename NameServer<_ValueType>::iterator
In both places does the trick for you ?
Thanks,
Peter
orocos rtt 2.0.2 doesn't compile
A Dijous 07 Octubre 2010, Peter Soetens va escriure:
> On Wednesday 06 October 2010 17:01:54 Leopold Palomo-Avellaneda wrote:
> > Hi,
> >
> > I'm trying to compile 2.0.2 and I have a compile error in:
> >
> > Building CXX object
> > rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/extras/dev/PulseTrainGener
> >at orInterface.cpp.o
> >
> > this file that an include:
> >
> > /home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-toolch
> >ai n-2.0.2/rtt/rtt/extras/dev/NameServer.hpp
> >
> > and in the line 245, the compiler complains about it:
>
> ...
>
> This was a fix for another compiler. Can you test that replacing
>
> NameServer::iterator
>
> with
>
> typename NameServer<_ValueType>::iterator
>
> In both places does the trick for you ?
>
perfect, works in both g++ 4.4.4 and 4.3.2.
Do you need the patch? no, no?
:-)
Regards,
Leo
orocos rtt 2.0.2 doesn't compile
On Thursday 07 October 2010 11:05:33 Leopold Palomo-Avellaneda wrote:
> A Dijous 07 Octubre 2010, Peter Soetens va escriure:
> > On Wednesday 06 October 2010 17:01:54 Leopold Palomo-Avellaneda wrote:
> > > Hi,
> > >
> > > I'm trying to compile 2.0.2 and I have a compile error in:
> > >
> > > Building CXX object
> > > rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/extras/dev/PulseTrainGen
> > > er
> > >
> > >at orInterface.cpp.o
> > >
> > > this file that an include:
> > >
> > > /home/users/leopold.palomo/robotica/orocos/orocos-toolchain/orocos-tool
> > > ch
> > >
> > >ai n-2.0.2/rtt/rtt/extras/dev/NameServer.hpp
> > >
> > > and in the line 245, the compiler complains about it:
> > ...
> >
> > This was a fix for another compiler. Can you test that replacing
> >
> > NameServer::iterator
> >
> > with
> >
> > typename NameServer<_ValueType>::iterator
> >
> > In both places does the trick for you ?
>
> perfect, works in both g++ 4.4.4 and 4.3.2.
>
> Do you need the patch? no, no?
>
No thanks :-). I pushed it to the toolchain-2.0 branch.
Peter