ROBOTIS-GIT / dynamixel-workbench

ROS packages for Dynamixel controllers, msgs, single_manager, toolbox, tutorials
http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_workbench/
Apache License 2.0
107 stars 174 forks source link

No rule to make target x64 #301

Open 01binary opened 4 years ago

01binary commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

eisulimma commented 4 months ago

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 !!