Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building dynamixel_workbench_toolbox without ROS on a Raspberry Pi #294

Open
swinterbotix opened this issue May 5, 2020 · 2 comments
Open
Assignees

Comments

@swinterbotix
Copy link

While following the instructions to build the dynamixel_workbench_toolbox package without ROS on a Raspberry Pi, I ran into the following error (while running the 'make' command).

image

After some debugging, I found that if I changed line 20 in the CMakeLists.txt file to read...

target_link_libraries(dynamixel_workbench LINK_PUBLIC "/usr/local/lib/libdxl_sbc_cpp.so")

... then the 'make' command worked.

I'm not exactly sure how it should be done, but I believe that the 'if condition' block should check to see not just if the code is being built on a MAC or x64 Linux system, but also a SBC system (like the raspberry Pi).

@eisulimma
Copy link

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

@yun-goon
Copy link

Hi @swinterbotix
Sorry for the delayed response.
The issue seems to be caused by a whitespace on line 56 of the c++/build/linux_sbc/Makefile, which resulted in the make command failing. This has been fixed in pull request #634.

Additionally, you can modify the CMakeLists.txt file to ensure it builds without issues on SBCs (like the Raspberry Pi). Add the following line at the specified location:

elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")

Thank you for raising the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants