-
Notifications
You must be signed in to change notification settings - Fork 785
Closed
Description
Describe the bug
When I try to build the library as a static library, without using conan or amet I get the following error:
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ------------------------------------------
-- BehaviorTree is being built without AMENT.
-- ------------------------------------------
-- ZeroMQ_LIBRARIES:
-- SQLite3_LIBRARIES:
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZeroMQ: /usr/local/lib/libzmq.so
-- Found SQLite3: /usr/include (found version "3.45.1")
-- BTCPP_EXTRA_LIBRARIES:
-- BTCPP_LIB_DESTINATION: lib
-- BTCPP_INCLUDE_DESTINATION: include
-- BUILD_TESTING: ON
-- Found GTest: /usr/lib/x86_64-linux-gnu/cmake/GTest/GTestConfig.cmake (found version "1.14.0")
-- Configuring done (0.5s)
CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minitrace" that is not in any export set.
CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "tinyxml2" that is not in any export set.
CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minicoro" that is not in any export set.
CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "flatbuffers" that is not in any export set.
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
I am using Ubuntu 24.04, and trying to compile BT v4.8.0. This does not happen on v4.7.3 or v4.7.2
How to Reproduce
Just try to compile the library with the following command:
$ cmake -S . -B build -DBTCPP_SHARED_LIBS=OFF
Metadata
Metadata
Assignees
Labels
No labels