orocos-toolchain / orocos_toolchain

The orocos_toolchain stack
37 stars 28 forks source link

version of ACE/TAO supported ? #11

Open cfpperche2 opened 9 years ago

cfpperche2 commented 9 years ago

Hi, which are the version of ACE/TAO supported by orocos 2.8?

I'm try to compile Orocos from source with ACE+TAO-6.1.2 (TAO-2.1) (compiled from source also) http://download.dre.vanderbilt.edu/previous_versions/

But orocos don't compile, get an error in something related with Corba.

and

When I try to compile ACETAO=ACE+TAO-5.6.7 (TAO-1.6.7) is generated this error: Dev_Poll_Reactor.cpp: In member function ‘int ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&)’: Dev_Poll_Reactor.cpp:1216:41: error: cannot bind packed field ‘pfds->epoll_event::events’ to ‘__uint32_t& {aka unsigned int&}’ __uint32_t &revents = pfds->events; ^ make[1]: * [.shobj/Dev_Poll_Reactor.o] Error 1 make[1]: Leaving directory `/usr/src/ACE_wrappers/ace' make: * [ACE] Error 2

I'm using Ubuntu 14.04, Xenomai 2.6.4, GCC and G++ 4.8

Has anyone the solution for this?

parasrish commented 8 years ago

I am facing similar issue , but with ACE+TAO-1.6a_with_latest_patches., whenn attempting to compile in Ubuntu Environment.

... I/home/dev/ace_tao_demo/pre_req/ACE_wrappers -DACE_HAS_EXCEPTIONS -DACE_INLINE -I.. -DACE_BUILD_DLL -c -fPIC -o .shobj/Dev_Poll_Reactor.o Dev_Poll_Reactor.cpp Dev_Poll_Reactor.cpp: In member function ‘int ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&)’: Dev_Poll_Reactor.cpp:1216:41: error: cannot bind packed field ‘pfds->epoll_event::events’ to ‘uint32_t& {aka unsigned int&}’ uint32_t &revents = pfds->events; ^ make[1]: * [.shobj/Dev_Poll_Reactor.o] Error 1 make[1]: Leaving directory `/home/dev/ace_tao_demo/pre_req/ACE_wrappers/ace' make: * [ACE] Error 2

Any solution for this?

cfpperche2 commented 8 years ago

No idea though about ace/TAO, I'm using OmniORB : (with Ubuntu 14.04, Xenomai 2.6.4)

sudo apt-get install omniorb-idl omniorb omniorb-nameserver Then compile orocos with omniorb/corba options :

catkin_make_isolated --install -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION=OMNIORB

roboticsai commented 6 years ago

I am also using Omniorb, but does omniorb provides NamingService like Tao? Why is orocos recommended TAO to be used for corba extension?

roboticsai commented 6 years ago

Hi guys i have nicely built the ACE-TAO version 6.4.7. which i donwloaded from this site and than extracted. Here first i bult ace, than gperf, than tao. only small problem in in the tests folder of gperf which is oly for testing the installation of gperf so we can ignore that or remove that. else everything is good tao naming service is also built inside the tao folder.

fatalfeel commented 6 years ago

/root/ACE_wrappers/configure

//modify function int main () {

int const ACE_NUM_DESCRIPTORS = 10; /*return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0;

; return 0;*/

return -1; //by stone }

//////////////// /root/ACE_wrappers/ace/config-linux-common.h change define ACE_HAS_EVENT_POLL to //# define ACE_HAS_EVENT_POLL

check this https://fatalfeel.blogspot.com/2013/09/secsgem-open-source.html