본문 바로가기
반응형

트러블슈팅3

[ROS] CMake Error at CMakeLists.txt: 22 (add_executable): Cannot find source file: 대부분의 에러가 CMake 파일에서 발생한다. 처음에는 위처럼 나와서 확장자 문제인줄 알고 코드를 검토했으나, 아니었다. 어제와 같이 의존성 선언 시에 순서가 잘못되어 build시에 에러가 발생한 것이다. add_executable과 ament_target_dependencies, install~~ 를 find_package(rclcpp REQUIRED) 아래로 적어주었다. 이후 다음과같이 잘 출력됐다. 2023. 7. 6.
[ROS] Getting a CMake Error: Cannot specify link libraries for target which is not built by the project CMakeLists.txt를 작성 중에 다음과 같이 작성 후에, 빌드 시 Getting a CMake Error: Cannot specify link libraries for target which is not built by the project 계속 다음과 같은 에러가 났다 해결 방법은 매우 간단했다. target_link_libraries를 add_executable 과 find_package 를 작성한 라인 뒤에 적어주면 링크 요소들을 알 수 있게 된다. find_package는 필자의 경우 CMakelists의 초반부에 적어줘서 add_executable만 신경쓰면 됐었다. 2023. 7. 5.
[TIL] [spring/ troubleshooting] org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL 트러블 슈팅이란 무언가 문제가 발생했을 때 그 원인을 찾아 제거하는 것을 의미한다. 트러블 슛이라 불리기도 한다. org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL 실행과정에서 생긴 오류로 Like가 예약어로 테이블명이 Like로 지정되다보니 생긴 오류였다. 예약어를 찾아 고쳐주면 해결된다! 2022. 8. 20.
반응형