Can't build soem_beckhoff_drivers

Good day,

Today I updated the soem_beckhoff_drivers package and I couldn't build it. It's been a week or so since my last update.

I've thrown away everything and tried this:

svn co http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/
roscd soem
rosmake
make

This is the resulting output from the last command:

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package soem_beckhoff_drivers
[rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build
cd build && make 
make[1]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[2]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[  0%] Built target rosbuild_premsgsrvgen
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 21%] Built target ROSBUILD_genmsg_cpp
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 46%] Built target ROSBUILD_genmsg_py
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 67%] Built target ROSBUILD_genmsg_lisp
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 67%] Built target rospack_genmsg
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 67%] Built target rospack_genmsg_all
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 67%] Built target rospack_genmsg_libexe
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 67%] Built target rosbuild_precompile
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
[ 71%] Building CXX object CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In constructor ‘soem_beckhoff_drivers::SoemEL1xxx::SoemEL1xxx(ec_slavet*)’:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:17: error: ‘service_’ was not declared in this scope
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:17: error: ‘datap_’ was not declared in this scope
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In member function ‘bool soem_beckhoff_drivers::SoemEL1xxx::readBit(unsigned int) const’:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:43: error: ‘datap_’ was not declared in this scope
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In member function ‘void soem_beckhoff_drivers::SoemEL1xxx::updatePorts()’:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:53: error: ‘datap_’ was not declared in this scope
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In function ‘soem_master::SoemDriver* soem_beckhoff_drivers::<unnamed>::createSoemEL1xxx(ec_slavet*)’:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:74: error: cannot allocate an object of abstract type ‘soem_beckhoff_drivers::SoemEL1xxx’
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.h:12: note:   because the following virtual functions are pure within ‘soem_beckhoff_drivers::SoemEL1xxx’:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_master/include/soem_master/soem_driver.h:39: note:     virtual void soem_master::SoemDriver::update()
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: At global scope:
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:76: warning: ‘soem_beckhoff_drivers::<unnamed>::registered1’ defined but not used
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:77: warning: ‘soem_beckhoff_drivers::<unnamed>::registered2’ defined but not used
/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:78: warning: ‘soem_beckhoff_drivers::<unnamed>::registered3’ defined but not used
make[3]: *** [CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o] Error 1
make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[2]: *** [CMakeFiles/soem_beckhoff_drivers.dir/all] Error 2
make[2]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build'
make: *** [all] Error 2

I'm not sure what's wrong here.

Thanks,

Tim

Ruben Smits's picture

Can't build soem_beckhoff_drivers

On Tuesday 05 October 2010 13:13:10 t [dot] t [dot] g [dot] clephas [..] ... wrote:
> Good day,
>
> Today I updated the soem_beckhoff_drivers package and I couldn't build it.
> It's been a week or so since my last update.
>
> I've thrown away everything and tried this:
>
> &#10;&gt; svn co http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/&#10;&gt; roscd soem&#10;&gt; rosmake&#10;&gt; make&#10;&gt;
> <!--break-->
> This is the resulting output from the last command:
> &#10;&gt; &#10;&gt; mkdir -p bin&#10;&gt; cd build &amp;&amp; cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find&#10;&gt; rosbuild`/rostoolchain.cmake  .. [rosbuild] Building package&#10;&gt; soem_beckhoff_drivers&#10;&gt; [rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake&#10;&gt; [rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake&#10;&gt; [rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake&#10;&gt; -- Configuring done&#10;&gt; -- Generating done&#10;&gt; -- Build files have been written to:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build cd&#10;&gt; build &amp;&amp; make&#10;&gt; make[1]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[2]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [ &#10;&gt; 0%] Built target rosbuild_premsgsrvgen&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 21%] Built target ROSBUILD_genmsg_cpp&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 46%] Built target ROSBUILD_genmsg_py&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 67%] Built target ROSBUILD_genmsg_lisp&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 67%] Built target rospack_genmsg&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 67%] Built target rospack_genmsg_all&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 67%] Built target rospack_genmsg_libexe&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 67%] Built target rosbuild_precompile&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[3]: Entering directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039; [&#10;&gt; 71%] Building CXX object&#10;&gt; CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp: In constructor&#10;&gt; ‘soem_beckhoff_drivers::SoemEL1xxx::SoemEL1xxx(ec_slavet*)’:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:17: error: ‘service_’ was not declared in this scope&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:17: error: ‘datap_’ was not declared in this scope&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp: In member function ‘bool&#10;&gt; soem_beckhoff_drivers::SoemEL1xxx::readBit(unsigned int) const’:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:43: error: ‘datap_’ was not declared in this scope&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp: In member function ‘void&#10;&gt; soem_beckhoff_drivers::SoemEL1xxx::updatePorts()’:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:53: error: ‘datap_’ was not declared in this scope&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp: In function ‘soem_master::SoemDriver*&#10;&gt; soem_beckhoff_drivers::&lt;unnamed&gt;::createSoemEL1xxx(ec_slavet*)’:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:74: error: cannot allocate an object of abstract type&#10;&gt; ‘soem_beckhoff_drivers::SoemEL1xxx’&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.h:12: note:   because the following virtual functions are pure within&#10;&gt; ‘soem_beckhoff_drivers::SoemEL1xxx’:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_master/include/soem_master/&#10;&gt; soem_driver.h:39: note:    virtual void soem_master::SoemDriver::update()&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp: At global scope:&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:76: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered1’&#10;&gt; defined but not used&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:77: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered2’&#10;&gt; defined but not used&#10;&gt; /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_e&#10;&gt; l1xxx.cpp:78: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered3’&#10;&gt; defined but not used make[3]: ***&#10;&gt; [CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o] Error 1 make[3]:&#10;&gt; Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[2]: *** [CMakeFiles/soem_beckhoff_drivers.dir/all] Error 2&#10;&gt; make[2]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make[1]: *** [all] Error 2&#10;&gt; make[1]: Leaving directory&#10;&gt; `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;&gt; make: *** [all] Error 2&#10;&gt;
>
> I'm not sure what's wrong here.

We're in the middle of refactoring a part of the soem stack. The soem_master
package has been changed, but not all the drivers in the soem_beckhoff_drivers
package have been fixed. I propose to stick with your previous version (I think
revision 32831, will be fine) until everything is finished.

Ruben
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Can't build soem_beckhoff_drivers

Good day,

Today I updated the soem_beckhoff_drivers package and I couldn't build it.
It's been a week or so since my last update.

I've thrown away everything and tried this:

&#10;svn co http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/&#10;roscd soem&#10;rosmake&#10;make&#10;
<!--break-->
This is the resulting output from the last command:
&#10;&#10;mkdir -p bin&#10;cd build &amp;&amp; cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..&#10;[rosbuild] Building package soem_beckhoff_drivers&#10;[rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake&#10;[rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake&#10;[rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake&#10;-- Configuring done&#10;-- Generating done&#10;-- Build files have been written to: /home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#10;cd build &amp;&amp; make &#10;make[1]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[2]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[  0%] Built target rosbuild_premsgsrvgen&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 21%] Built target ROSBUILD_genmsg_cpp&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 46%] Built target ROSBUILD_genmsg_py&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 67%] Built target ROSBUILD_genmsg_lisp&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 67%] Built target rospack_genmsg&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 67%] Built target rospack_genmsg_all&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 67%] Built target rospack_genmsg_libexe&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 67%] Built target rosbuild_precompile&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[3]: Entering directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;[ 71%] Building CXX object CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In constructor ‘soem_beckhoff_drivers::SoemEL1xxx::SoemEL1xxx(ec_slavet*)’:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:17: error: ‘service_’ was not declared in this scope&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:17: error: ‘datap_’ was not declared in this scope&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In member function ‘bool soem_beckhoff_drivers::SoemEL1xxx::readBit(unsigned int) const’:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:43: error: ‘datap_’ was not declared in this scope&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In member function ‘void soem_beckhoff_drivers::SoemEL1xxx::updatePorts()’:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:53: error: ‘datap_’ was not declared in this scope&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: In function ‘soem_master::SoemDriver* soem_beckhoff_drivers::&lt;unnamed&gt;::createSoemEL1xxx(ec_slavet*)’:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:74: error: cannot allocate an object of abstract type ‘soem_beckhoff_drivers::SoemEL1xxx’&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.h:12: note:   because the following virtual functions are pure within ‘soem_beckhoff_drivers::SoemEL1xxx’:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_master/include/soem_master/soem_driver.h:39: note:   virtual void soem_master::SoemDriver::update()&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp: At global scope:&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:76: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered1’ defined but not used&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:77: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered2’ defined but not used&#10;/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/src/soem_el1xxx.cpp:78: warning: ‘soem_beckhoff_drivers::&lt;unnamed&gt;::registered3’ defined but not used&#10;make[3]: *** [CMakeFiles/soem_beckhoff_drivers.dir/src/soem_el1xxx.o] Error 1&#10;make[3]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[2]: *** [CMakeFiles/soem_beckhoff_drivers.dir/all] Error 2&#10;make[2]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make[1]: *** [all] Error 2&#10;make[1]: Leaving directory `/home/s050745/ros/kul-ros-pkg/stacks/soem/soem_beckhoff_drivers/build&#039;&#10;make: *** [all] Error 2&#10;

I'm not sure what's wrong here.

Thanks,

Tim
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users