You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the BehaviorTree.cpp with "make install", the following in the CMakeList.txt returns empty for ${BTCPP_LIBRARY}", and the code is not linking:
find_package(behaviortree_cpp REQUIRED)
message("BTCPP_LIBRARY is ${BTCPP_LIBRARY}")
Suggested Fix:
adding the following to the CMakeList.txt fixes the problem:
After installing the BehaviorTree.cpp with "make install", the following in the CMakeList.txt returns empty for ${BTCPP_LIBRARY}", and the code is not linking:
find_package(behaviortree_cpp REQUIRED)
message("BTCPP_LIBRARY is ${BTCPP_LIBRARY}")
Suggested Fix:
adding the following to the CMakeList.txt fixes the problem:
set(BTCPP_LIBRARY "/usr/local/lib/libbehaviortree_cpp.so")
Later, I am using the ${BTCPP_LIBRARY} in include_directories(${PROJECT_NAME} PUBLIC include ${BTCPP_LIBRARY}).
(Ubuntu 22 LTS)
The text was updated successfully, but these errors were encountered: