https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/overview/
위 링크의 매뉴얼 따라 실행 중 예제 make에서 에러가 발생합니다.
kangho@kangho:~/catkin_ws/src/DynamixelSDK/c++/example/protocol1.0/bulk_read/linux64$ make
mkdir -p .objects/
g++ -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall -I../../../../include/dynamixel_sdk -m64 -g .objects/bulk_read.o -o bulk_read -ldxl_x64_cpp -lrt
/usr/bin/ld: cannot find -ldxl_x64_cpp
collect2: error: ld returned 1 exit status
Makefile:62: 'bulk_read' 타겟에 대한 명령이 실패했습니다
make: *** [bulk_read] 오류 1
gcc, g++버전 문제인건지 원인이 무엇인지 모르겠습니다.
![]() |
2022-08-10 21:34:49 |
n164907415003040 |
안녕하세요.
"/usr/bin/ld: cannot find" 관련 에러의 경우, 라이브러리가 설치 안되어있는 경우에 발생하는 에러입니다.
Library Setup 4. 5. CPP Linux 부분을 참고하여 라이브러리를 설치 해주세요.
또한, 7. Quick Start Video의 Linux 예제영상을 참고하여 정상 동작 하는지 확인을 해주세요.
감사합니다.
![]() |
2022-08-11 09:58:12 |
ykw4463 |