BehaviorTree / Groot

Graphical Editor to create BehaviorTrees. Compliant with BehaviorTree.CPP
736 stars 239 forks source link

Error when building Groot #171

Open lunanueva opened 2 years ago

lunanueva commented 2 years ago

/usr/bin/ld: libbehavior_tree_editor.so: undefined reference to `BT::VerifyXML(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::set<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::cxx11::basic_string<char, std::char_traits, std::allocator > > > const&)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/Groot.dir/build.make:259: Groot] Error 1 make[1]: [CMakeFiles/Makefile2:210: CMakeFiles/Groot.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

renzobazan96 commented 2 years ago

I have the same issue

azalutsky commented 2 years ago

Same issue in ROS2 build. Using v3.8 BT_CPP.

facontidavide commented 2 years ago

I suggest not using the ROS2 build, but the submodule instead, described in the readme

rsc9421 commented 1 year ago

same issue here

azalutsky commented 1 year ago

I had to install groot by source and BT3 as a sudo apt-get install -y ros-foxy-behaviortree-cpp-v3 to get it to work. Hope this helps some of you.