dynamixel-workbench icon indicating copy to clipboard operation
dynamixel-workbench copied to clipboard

No rule to make target x64

Open 01binary opened this issue 5 years ago • 3 comments

Hello,

I am following this tutorial to build dynamixel workbench on Raspberry Pi 4 (Raspbian) and ROS Melodic: https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_workbench/#linux-and-macos

Getting this error after running "make":

No rule to make target '/usr/local/lib/libdxl_x64_cpp.iso'

I went into /lib and all the output files I have are for the sbc platform because I am on Pi. Why is it trying to make it for x64 if I am on SBC?

libdxl_sbc_cpp.so
libdxl_sbc_cpp.so.2
libdxl_sbc_cpp.so.2.0
libdxl_sbc_cpp.so.2.0.0

Thank you!

01binary avatar Jun 30 '20 15:06 01binary

Oh, got it. CMakeLists.txt in /dynamixel_workbench/dynamixel_workbench_toolbox/examples has this statement:

if (APPLE)
 target_link_libraries(....libdxl_mac_cpp.dylib")
else()
 target_link_libraries(...libdxl_linux64_cpp.so")
endif()

I changed the 64-bit instruction to sbc and now it builds on raspberri pi. That must be why it built on mac and linux VM with no issue.

01binary avatar Jun 30 '20 16:06 01binary

Looks like this is the same as https://github.com/ROBOTIS-GIT/dynamixel-workbench/issues/294

01binary avatar Jul 01 '20 19:07 01binary

Hey I had the same issue but your solution didn't work for me. I get the same error but with a different name: make[2]: *** No rule to make target '/usr/local/lib/libdxl_sbc_cpp.so', needed by 'find_dynamixel'. Stop. make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/find_dynamixel.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

Please help! Thank you !!

eisulimma avatar Jun 04 '24 17:06 eisulimma