iwata-lab / maxon_epos_ros

ROS package for MAXON motor and EPOS driver
MIT License
18 stars 15 forks source link

Undefined reference to `VCS_OpenSubDevice' and `VCS_CloseSubDevice' #9

Open ahkub opened 1 year ago

ahkub commented 1 year ago

Dear all, I use ROS1 Noetic with Ubunto 20.04.6 LTS. I have downloaded and installed the latest Maxon Library from "https://www.maxongroup.com/maxon/view/product/control/Positionierung/546714". It is Version 6.8.1.0, not Version 6.7.1.0, as suggested by @Roboprotos in Jan 2022.

I git clone maxon_epos_ros. Then I do this fix: "maxon_epos_driver that line should be added in the package.xml file inside the maxon_epos_example package"

When I then run catkin_make, it throws this error:


[ 97%] Built target maxon_epos_example_node /usr/bin/ld: /home/ahkub/Desktop/WorkHere/catkin_ws/devel/lib/libmaxon_epos_driver.so: undefined reference to `VCS_OpenSubDevice' /usr/bin/ld: /home/ahkub/Desktop/WorkHere/catkin_ws/devel/lib/libmaxon_epos_driver.so: undefined reference to `VCS_CloseSubDevice' collect2: error: ld returned 1 exit status make[2]: [maxon_epos_ros/maxon_epos_driver/CMakeFiles/maxon_bringup.dir/build.make:103: /home/ahkub/Desktop/WorkHere/catkin_ws/devel/lib/maxon_epos_driver/maxon_bringup] Error 1 make[1]: [CMakeFiles/Makefile2:1479: maxon_epos_ros/maxon_epos_driver/CMakeFiles/maxon_bringup.dir/all] Error 2 make: * [Makefile:141: all] Error 2 Invoking "make -j8 -l8" failed**


Can somebody please help? Or maybe somebody knows where I can still download EPOS-Linux-Library-En.zip in the old Version 6.7.1.0?

Much appreciated!