Comments (8)
i have problem with ros2 run groot Groot . the package was not found
from groot.
@magi-dalmau I put in a PR to address this if you wanted to test it.
from groot.
@pauldinh I'm having the same problem. I've tried your fix, but I'm still getting a linker error.
I've tried installing behaviortree-cpp with apt (ie: apt-get install ros-melodic-behavior-tree-cpp
) and building it with catkin.
edit:
Here is the partial output of catkin build --get-env groot
:
typeset -x ROS_DISTRO=melodic
typeset -x LESSOPEN='| /usr/bin/lesspipe %s'
typeset -x PATH=/workspace/install/bin:/opt/ros/melodic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
typeset -x HOME=/root
typeset -x LD_LIBRARY_PATH=/workspace/install/lib:/opt/ros/melodic/lib:/workspace/devel/lib
Inside /workspace/install/lib
I have libbehaviortree_cpp_v3.so
.
from groot.
@danem Can you verify what target(s) you're getting the linker error on? The possible targets are:
behavior_tree_editor
Groot
editor_test
replay_test
The output of catkin build VERBOSE=1
could be helpful if you can / are allowed to post it.
Also, I neglected to mention my environment:
- 18.04 + ROS Melodic
catkin tools
(and notcatkin_make
) configured to use an install space [0]- compiling
BehaviorTree.CPP
from source
(my catkin build --get-env groot
looks similar to yours)
I'm compiling BehaviorTree.CPP
from source because the latest ROS Melodic sync does not have this commit. If I attempt to compile Groot
using ros-melodic-behaviortree-cpp-v3
, I get an error regarding flatbuffers/stl_emulation.h
. That said, I temporarily modified the include_directories for Groot so it could find flatbuffers/stl_emulation.h
(on master
), got the linker error(s), switched to the PR branch, and did a catkin clean && catkin build
and everything compiled successfully. I then uninstalled the ros-melodic-behaviortree-cpp-v3
package and repeated the same with BehaviorTree.CPP
from source (and undid the temporary include_directories
change). Got the linker errors on master
but they compiled on the PR branch.
I wouldn't be surprised if I'm missing something but I can't seem to reproduce the error on my end.
[0] I noticed I cannot do rosrun groot Groot
using the install space. BehaviorTree.CPP
is not configured to use the install space from what I can tell. But all of the above applies when the workspace is configured for devel
space.
from groot.
@pauldinh thanks for the work.
I've commented out the CompileTest( ... ) lines found in Groot/test/CmakeLists.txt
and that fixed the build. So it seems both replay_test
and editor_test
were the problems.
I'm also finding that the Groot executable isn't placed in the install space, but instead in devel/lib/groot
.
from groot.
Great, glad it worked out for you!
The changes in the commit should have addressed the tests as well, not sure why you had to go through the trouble of commenting it out. If you can, a verbose log of your catkin build
would be helpful.
from groot.
Here is the output:
It looks like it cannot link the behaviortree_cpp_v3 library. Perhaps it's because I'm not using the BehaviorTree submodule?
from groot.
fixed, thanks to @pauldinh
from groot.
Related Issues (20)
- Add publisher/server port numbers as launch arguments HOT 1
- this error when building Groot
- Error when building Groot HOT 5
- Qt6 and M1 Mac Support HOT 1
- Segmentation fault when running Groot HOT 1
- error: ‘zmq::send_flags’ has not been declared HOT 4
- Only node below root is getting colored during log replay / live monitor HOT 1
- compling error zmq when installing HOT 15
- Segfault after upgrading ros-noetic-behaviortree-cpp-v3 from 3.6.1 to 3.8.0 HOT 7
- Error when open editor
- BehaviorTree.CPP 4.0 compability HOT 1
- How are nav2 bts different from groot bts? HOT 2
- Shortcuts for zoom in and out
- An error will be reported when running the example
- Appimage or installer for arm? HOT 3
- Release new tag
- error compiling groot ROS Melodic
- Compilation error on Manjaro / Arch Linux
- compiler error on mingw-64
- Error when running Groot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groot.