Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler error on mingw-64 #201

Open
arc130 opened this issue Apr 2, 2024 · 0 comments
Open

compiler error on mingw-64 #201

arc130 opened this issue Apr 2, 2024 · 0 comments

Comments

@arc130
Copy link

arc130 commented Apr 2, 2024

Hi, I built on mingw-64 version 7.3.0 and got error on target-link step. How can I solve this?

depend/BehaviorTree.CPP/libbehaviortree_cpp_v3d.a(decorator_node.cpp.obj): In function `BT::DecoratorNode::halt()':
E:/Download/Groot/depend/BehaviorTree.CPP/src/decorator_node.cpp:33: multiple definition of `BT::DecoratorNode::halt()'
libbehavior_tree_editor.dll.a(d000941.o):(.text+0x0): first defined here
depend/BehaviorTree.CPP/libbehaviortree_cpp_v3d.a(decorator_node.cpp.obj): In function `BT::DecoratorNode::executeTick()':
E:/Download/Groot/depend/BehaviorTree.CPP/src/decorator_node.cpp:72: multiple definition of `BT::DecoratorNode::executeTick()'
libbehavior_tree_editor.dll.a(d000940.o):(.text+0x0): first defined here
depend/BehaviorTree.CPP/libbehaviortree_cpp_v3d.a(tree_node.cpp.obj): In function `BT::TreeNode::setStatus(BT::NodeStatus)':
E:/Download/Groot/depend/BehaviorTree.CPP/src/tree_node.cpp:64: multiple definition of `BT::TreeNode::setStatus(BT::NodeStatus)'
libbehavior_tree_editor.dll.a(d001337.o):(.text+0x0): first defined here
depend/BehaviorTree.CPP/libbehaviortree_cpp_v3d.a(tree_node.cpp.obj): In function `BT::TreeNode::status() const':
E:/Download/Groot/depend/BehaviorTree.CPP/src/tree_node.cpp:86: multiple definition of `BT::TreeNode::status() const'
libbehavior_tree_editor.dll.a(d003578.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[2]: *** [CMakeFiles\Groot.dir\build.make:268: Groot.exe] Error 1
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:203: CMakeFiles/Groot.dir/all] Error 2
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant