Problems with OCL2.0

Hi ,

I'm trying to complile my project but there is a problem. Since RTT 2.0 has
been updated the following error has appered while compilinf OCL_2.0 :
I've tried to use Ruben release, but a problem of the same type appears.

ERROR 1 : Without Ruben release :
In file included from
/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:62:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.hpp:94:
error: ‘RTT::interface::ServiceProvider’ has not been declared

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.hpp:94:
error: ISO C++ forbids declaration of ‘shared_ptr’ with no type

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.hpp:94:
error: expected ‘;’ before ‘taskobject’

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.hpp:221:
error: ‘RTT::interface::ServiceProvider’ has not been declared

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.hpp:221:
error: expected ‘,’ or ‘...’ before ‘ops’

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:102:
error: ‘RTT::interface::ServiceProvider’ has not been declared

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:102:
error: expected constructor, destructor, or type conversion before
‘TaskBrowser’

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In static member function ‘static void OCL::TaskBrowser::find_ops()’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:387:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In static member function ‘static void
OCL::TaskBrowser::find_peers(size_t)’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:415:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In static member function ‘static RTT::TaskContext*
OCL::TaskBrowser::findPeer(std::string)’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:938:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In member function ‘void OCL::TaskBrowser::evalCommand(std::string&)’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1141:
error: ‘RTT::interface::ServiceProvider’ has not been declared

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1141:
error: expected ‘;’ before ‘ops’

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1145:
error: ‘ops’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1173:
error: ‘ops’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In member function ‘void OCL::TaskBrowser::printInfo(const std::string&)’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1613:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1619:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1641:
error: ‘taskobject’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
At global scope:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1791:
error: ‘RTT::interface::ServiceProvider’ has not been declared

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1791:
error: expected ‘,’ or ‘...’ before ‘ops’

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:
In member function ‘void OCL::TaskBrowser::printOperation(std::string,
int)’:

/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/ocl_2.0-git/taskbrowser/TaskBrowser.cpp:1794:
error: ‘ops’ was not declared in this scope
make[3]: ***
[ocl_2.0-git/taskbrowser/CMakeFiles/orocos-taskbrowser-gnulinux.dir/TaskBrowser.cpp.o]
Error 1
make[3]: Leaving directory
`/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/build'
make[2]: ***
[ocl_2.0-git/taskbrowser/CMakeFiles/orocos-taskbrowser-gnulinux.dir/all]
Error 2
make[2]: Leaving directory
`/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/lias/kul-ros-pkg/orocos/ocl/ocl_2.0/build'

ERROR 2 after Ruben release
file included from
/home/lias/kul-ros-pkg/soem/soem_master/include/soem_master/soem_driver.h:13,
from
/home/lias/kul-ros-pkg/soem/soem_master/include/soem_master/soem_driver_factory.h:6,
from
/home/lias/kul-ros-pkg/soem/soem_master/src/soem_driver_factory.cpp:1:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘boost::shared_ptr<X> RTT::TaskContext::getProvider(const
std::string&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:309:
error: there are no arguments to ‘provides’ that depend on a template
parameter, so a declaration of ‘provides’ must be available

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:309:
note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing
the use of an undeclared name is deprecated)

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:316:
error: there are no arguments to ‘provides’ that depend on a template
parameter, so a declaration of ‘provides’ must be available

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::Operation<Signature>&
RTT::TaskContext::addOperation(RTT::Operation<Signature>&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:341:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::Operation<typename
RTT::internal::GetSignature<FunctionT>::Signature>&
RTT::TaskContext::addOperation(std::string, Func, Service*,
RTT::ExecutionThread)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:348:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::interface::OperationRepositoryPart*
RTT::TaskContext::getOperation(std::string)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:362:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::interface::OperationRepository*
RTT::TaskContext::operations()’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:368:
error: ‘class RTT::TaskContext’ has no member named ‘provides’

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘bool RTT::TaskContext::addAttribute(const std::string&,
T&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:389:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘bool RTT::TaskContext::addConstant(const std::string&,
const T&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:402:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘bool
RTT::TaskContext::addAttribute(RTT::base::AttributeBase&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:416:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::base::AttributeBase*
RTT::TaskContext::getAttribute(const std::string&) const’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:429:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::interface::ConfigurationInterface*
RTT::TaskContext::attributes()’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:435:
error: ‘class RTT::TaskContext’ has no member named ‘provides’

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::Property<T>& RTT::TaskContext::addProperty(const
std::string&, T&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:457:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘bool
RTT::TaskContext::addProperty(RTT::base::PropertyBase&)’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:465:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::base::PropertyBase*
RTT::TaskContext::getProperty(const std::string&) const’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:477:
error: ‘tcservice’ was not declared in this scope

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:
In member function ‘RTT::PropertyBag* RTT::TaskContext::properties()’:

/home/lias/kul-ros-pkg/orocos/rtt/rtt_2.0/install/include/rtt/TaskContext.hpp:483:
error: ‘class RTT::TaskContext’ has no member named ‘provides’
make[3]: *** [CMakeFiles/soem_master.dir/src/soem_driver_factory.o] Error
1
make[3]: Leaving directory `/home/lias/kul-ros-pkg/soem/soem_master/build'
make[2]: *** [CMakeFiles/soem_master.dir/all] Error 2
make[2]: Leaving directory `/home/lias/kul-ros-pkg/soem/soem_master/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lias/kul-ros-pkg/soem/soem_master/build'

Thank you for your help,

Sebastien