BehaviorTree / Groot

Graphical Editor to create BehaviorTrees. Compliant with BehaviorTree.CPP
730 stars 238 forks source link

Segfault after upgrading ros-noetic-behaviortree-cpp-v3 from 3.6.1 to 3.8.0 #183

Closed guilmant closed 1 year ago

guilmant commented 1 year ago

Ubuntu 20.04, even with cloning and compiling current version of Groot, when trying to open editor mode, segmentation fault occurs.

facontidavide commented 1 year ago

It is probably try to link to the wrong version of the library. Make sure that, when recompiling, the version is the one in the submodule folder https://github.com/BehaviorTree/Groot/tree/master/depend

guilmant commented 1 year ago

I deleted the full Groot folder and followed the Linux compilation instructions.

Could you please provide some more detail for making sure the correct version is linked? Thank you!

facontidavide commented 1 year ago

image

guilmant commented 1 year ago

Okay, for me cmake .. does not give BehaviourTree.CPP submodule found as I have catkin.

Could you tell me, which file cmake-gui changes or adds the path info to?

Or alternatively, is there the possibility to downgrade the apt package to os-noetic-behaviortree-cpp-v3 3.6.1?

guilmant commented 1 year ago

Or could you provide the possibility to downgrade the deb package to ros-noetic-behaviortree-cpp-v3 3.6.1? apt only seems to be able to provide 3.8 unfortunately

guilmant commented 1 year ago

After some (I don’t really know what) trying, sudo make install did the trick.

facontidavide commented 1 year ago

@guilmant I am 95% sure that Groot works find with 3.8 when it is a submodule. I will check again