Dear all,
I was recompiling from source rtt_soem (indigo, catkin, 14.04,
git [..] ...:orocos/rtt_soem.git)
I have errors in the registering macro
/home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el30xx.cpp:57:21:
error: expected constructor, destructor, or type conversion before ‘(’ token
REGISTER_SOEM_DRIVER(EL3052, createSoemEL3052)
^
/home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:111:21:
error: expected constructor, destructor, or type conversion before ‘(’ token
REGISTER_SOEM_DRIVER(EL1124, createSoemEL1xxx)
^
/home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el3102.cpp:172:21:
error: expected constructor, destructor, or type conversion before ‘(’ token
REGISTER_SOEM_DRIVER(EL3102, createSoemEL3102)
^
/home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el2xxx.cpp:147:21:
error: expected constructor, destructor, or type conversion before ‘(’ token
REGISTER_SOEM_DRIVER(EL2002, createSoemEL2xxx)
if i expand the macro manually, it seems to be ok.
Idea? Suggestions?
Cheers, Gianni.
[OROCOSUSERS] fail to compile rtt_soem/soem_beckoff drivers
Nevermind, I found the problem
Gianni
On 07/07/16 12:35, Gianni Borghesan wrote:
> Dear all,
> I was recompiling from source rtt_soem (indigo, catkin, 14.04,
> git [..] ...:orocos/rtt_soem.git)
> I have errors in the registering macro
>
>
> /home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el30xx.cpp:57:21:
> error: expected constructor, destructor, or type conversion before ‘(’
> token
> REGISTER_SOEM_DRIVER(EL3052, createSoemEL3052)
> ^
> /home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:111:21:
> error: expected constructor, destructor, or type conversion before ‘(’
> token
> REGISTER_SOEM_DRIVER(EL1124, createSoemEL1xxx)
> ^
> /home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el3102.cpp:172:21:
> error: expected constructor, destructor, or type conversion before ‘(’
> token
> REGISTER_SOEM_DRIVER(EL3102, createSoemEL3102)
> ^
> /home/___/ws_indigo/ws_my_projects/src/rtt_soem/soem_beckhoff_drivers/src/soem_el2xxx.cpp:147:21:
> error: expected constructor, destructor, or type conversion before ‘(’
> token
> REGISTER_SOEM_DRIVER(EL2002, createSoemEL2xxx)
>
> if i expand the macro manually, it seems to be ok.
> Idea? Suggestions?
>
> Cheers, Gianni.
>
>