Closed
Description
Hi! Thank you for your fantastic contribution, and congrats for your new shiny version 3.0!
I am a great fan of crossplatform, minimal dependencies and header-only gems in modern c++.
Well; BehaviourTree.cpp is not header-only :-). So i am trying to compile/build the library from source code, in Visual Studio 2017(15.9.7) for Windows 10 x64. No success. :-/. At the moment i have omitted GTEST amd ZMQ because i only want the core/logic functionality. Is it possible?
Any guide/hints about how to compile/build/configure BehaviorTree.CPP for using in new proyects? Thanks in advance!!
I have enabled the _CRT_SECURE_NO_WARNINGS flag.
I get this output :-(:
1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Checking Build System
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/debug/CMakeFiles/generate.stamp is up-to-date.
2>------ Rebuild All started: Project: behaviortree_cpp_v3, Configuration: Debug x64 ------
2>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/CMakeLists.txt
2>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/debug/CMakeFiles/generate.stamp is up-to-date.
2>action_node.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\coroutine/coroutine.h(115): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\coroutine/coroutine.h(115): warning C4267: 'return': conversion from 'size_t' to 'coroutine::routine_t', possible loss of data
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\coroutine/coroutine.h(137): warning C4100: 'lpParameter': unreferenced formal parameter
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(788): error C2059: syntax error: '('
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(788): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(788): error C2059: syntax error: ')'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(789): warning C4183: '__attribute__': missing return type; assumed to be a member function returning 'int'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(795): error C3861: 'backtrace': identifier not found
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2589: '(': illegal token on right side of '::'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2144: syntax error: 'unknown-type' should be preceded by ')'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2661: 'std::vector<void *,std::allocator<_Ty>>::resize': no overloaded function takes 0 arguments
2> with
2> [
2> _Ty=void *
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2144: syntax error: 'unknown-type' should be preceded by ';'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2143: syntax error: missing ')' before '.'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C3928: '->': trailing return type is not allowed after a parenthesized declarator
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C3484: syntax error: expected '->' before the return type
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C3613: missing return type after '->' ('int' assumed)
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): warning C4458: declaration of '_stacktrace' hides class member
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(679): note: see declaration of 'backward::StackTraceImplHolder::_stacktrace'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2146: syntax error: missing ';' before identifier 'size'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\backward-cpp/backward.hpp(812): error C2059: syntax error: ')'
2>basic_types.cpp
2>behavior_tree.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): warning C4127: conditional expression is constant
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(211): note: consider using 'if constexpr' statement instead
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(49): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<std::string>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *const ' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(258): note: see reference to function template instantiation 'void BT::Blackboard::set<T>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(57): note: see reference to function template instantiation 'BT::Result BT::TreeNode::setOutput<std::string>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>blackboard.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(28): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(28): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(29): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(29): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(60): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\blackboard.cpp(60): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>bt_factory.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\bt_factory.cpp(143): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\bt_factory.cpp(143): warning C4456: declaration of 'it' hides previous local declaration
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\bt_factory.cpp(139): note: see declaration of 'it'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): warning C4127: conditional expression is constant
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(211): note: consider using 'if constexpr' statement instead
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(49): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<std::string>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *const ' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(258): note: see reference to function template instantiation 'void BT::Blackboard::set<T>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(57): note: see reference to function template instantiation 'BT::Result BT::TreeNode::setOutput<std::string>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>decorator_node.cpp
2>condition_node.cpp
2>control_node.cpp
2>shared_library.cpp
2>shared_library_UNIX.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\shared_library_UNIX.cpp(3): fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory
2>tree_node.cpp
2>xml_parsing.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(16): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(16): warning C4068: unknown pragma
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(17): warning C4068: unknown pragma
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(44): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(46): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(70): warning C4068: unknown pragma
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(84): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(84): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(84): error C2672: 'std::list<std::unique_ptr<XMLDocument,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::emplace_back': no matching overloaded function found
2> with
2> [
2> _Ty=XMLDocument
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(86): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(87): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(97): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(97): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(97): error C2672: 'std::list<std::unique_ptr<XMLDocument,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::emplace_back': no matching overloaded function found
2> with
2> [
2> _Ty=XMLDocument
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(99): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(100): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(105): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(107): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(110): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(110): warning C4473: 'sprintf' : not enough arguments passed for format string
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(110): note: placeholders and their parameters expect 1 variadic arguments, but 0 were provided
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(110): note: the missing variadic argument 1 is required by format string '%s'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(114): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(147): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(147): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(147): error C2672: 'std::list<std::unique_ptr<XMLDocument,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::emplace_back': no matching overloaded function found
2> with
2> [
2> _Ty=XMLDocument
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(148): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(148): warning C4457: declaration of 'doc' hides function parameter
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(105): note: see declaration of 'doc'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(149): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(170): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(189): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(189): error C2079: 'doc' uses undefined class 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(191): error C3536: 'xml_error': cannot be used before it is initialized
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(194): warning C4473: 'sprintf' : not enough arguments passed for format string
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(194): note: placeholders and their parameters expect 1 variadic arguments, but 0 were provided
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(194): note: the missing variadic argument 1 is required by format string '%s'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(395): error C2027: use of undefined type 'XMLDocument'
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: see declaration of 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(395): error C2039: 'RootElement': is not a member of 'std::unique_ptr<XMLDocument,std::default_delete<_Ty>>'
2> with
2> [
2> _Ty=XMLDocument
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(46): note: see declaration of 'std::unique_ptr<XMLDocument,std::default_delete<_Ty>>'
2> with
2> [
2> _Ty=XMLDocument
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(527): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(527): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(528): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(528): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(644): error C2872: 'XMLDocument': ambiguous symbol
2>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\msxml.h(10095): note: could be 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\tinyXML2/tinyxml2.h(1650): note: or 'tinyxml2::XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(644): error C2079: 'doc' uses undefined class 'XMLDocument'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(685): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(685): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\xml_parsing.cpp(685): error C2661: 'tinyxml2::XMLElement::SetAttribute': no overloaded function takes 1 arguments
2>inverter_node.cpp
2>repeat_node.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(183): note: see reference to function template instantiation 'std::string BT::Any::errorMsg<DST>(void) const' being compiled
2> with
2> [
2> DST=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(131): note: see reference to function template instantiation 'nonstd::expected_lite::expected<T,std::string> BT::Any::convert<T>(void *) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(213): note: see reference to function template instantiation 'T BT::Any::cast<std::string>(void) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\decorators\repeat_node.cpp(42): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<unsigned int>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=unsigned int
2> ]
2>retry_node.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(183): note: see reference to function template instantiation 'std::string BT::Any::errorMsg<DST>(void) const' being compiled
2> with
2> [
2> DST=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(131): note: see reference to function template instantiation 'nonstd::expected_lite::expected<T,std::string> BT::Any::convert<T>(void *) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(213): note: see reference to function template instantiation 'T BT::Any::cast<std::string>(void) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\decorators\retry_node.cpp(47): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<unsigned int>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=unsigned int
2> ]
2>subtree_node.cpp
2>timeout_node.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(183): note: see reference to function template instantiation 'std::string BT::Any::errorMsg<DST>(void) const' being compiled
2> with
2> [
2> DST=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(131): note: see reference to function template instantiation 'nonstd::expected_lite::expected<T,std::string> BT::Any::convert<T>(void *) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(213): note: see reference to function template instantiation 'T BT::Any::cast<std::string>(void) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\decorators\timeout_node.cpp(43): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<unsigned int>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=unsigned int
2> ]
2>fallback_node.cpp
2>parallel_node.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(243): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(183): note: see reference to function template instantiation 'std::string BT::Any::errorMsg<DST>(void) const' being compiled
2> with
2> [
2> DST=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/utils/safe_any.hpp(131): note: see reference to function template instantiation 'nonstd::expected_lite::expected<T,std::string> BT::Any::convert<T>(void *) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(213): note: see reference to function template instantiation 'T BT::Any::cast<std::string>(void) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\controls\parallel_node.cpp(41): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<unsigned int>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=unsigned int
2> ]
2>reactive_sequence.cpp
2>Generating Code...
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\src\decorators\inverter_node.cpp(52): error C2220: warning treated as error - no 'object' file generated
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\src\decorators\inverter_node.cpp(52): warning C4702: unreachable code
2>Compiling...
2>reactive_fallback.cpp
2>sequence_node.cpp
2>sequence_star_node.cpp
2>bt_cout_logger.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): warning C4127: conditional expression is constant
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(211): note: consider using 'if constexpr' statement instead
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(49): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<std::string>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *const ' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(258): note: see reference to function template instantiation 'void BT::Blackboard::set<T>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(57): note: see reference to function template instantiation 'BT::Result BT::TreeNode::setOutput<std::string>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>bt_file_logger.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/loggers/bt_flatbuffer_helper.h(120): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/loggers/bt_flatbuffer_helper.h(120): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/loggers/bt_flatbuffer_helper.h(153): warning C4244: 'initializing': conversion from '_Rep' to 'uint32_t', possible loss of data
2> with
2> [
2> _Rep=__int64
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\src\loggers\bt_file_logger.cpp(50): warning C4804: '>=': unsafe use of type 'bool' in operation
2>bt_minitrace_logger.cpp
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace/minitrace.h(232): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace/minitrace.h(232): warning C4244: '=': conversion from 'int64_t' to 'double', possible loss of data
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(210): warning C4127: conditional expression is constant
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(211): note: consider using 'if constexpr' statement instead
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(49): note: see reference to function template instantiation 'BT::Result BT::TreeNode::getInput<std::string>(const std::string &,T &) const' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info *const ' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(170): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/tree_node.h(258): note: see reference to function template instantiation 'void BT::Blackboard::set<T>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/actions/set_blackboard_node.h(57): note: see reference to function template instantiation 'BT::Result BT::TreeNode::setOutput<std::string>(const std::string &,const T &)' being compiled
2> with
2> [
2> T=std::string
2> ]
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): error C2664: 'std::string BT::demangle(const char *)': cannot convert argument 1 from 'const type_info' to 'const char *'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\include\behaviortree_cpp/blackboard.h(171): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
2>tinyxml2.cpp
2>minitrace.cpp
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\minitrace\minitrace.h(232): error C2220: warning treated as error - no 'object' file generated
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\minitrace\minitrace.h(232): warning C4244: '=': conversion from 'int64_t' to 'double', possible loss of data
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(87): warning C4244: 'initializing': conversion from 'double' to 'int64_t', possible loss of data
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(280): warning C4456: declaration of 'len' hides previous local declaration
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(241): note: see declaration of 'len'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(281): warning C4456: declaration of 'i' hides previous local declaration
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(228): note: see declaration of 'i'
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\minitrace\minitrace.cpp(332): warning C4244: '=': conversion from 'int64_t' to 'double', possible loss of data
2>backward.cpp
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\backward-cpp\backward.hpp(788): error C2059: syntax error: '('
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\backward-cpp\backward.hpp(788): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\backward-cpp\backward.hpp(788): error C2059: syntax error: ')'
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\backward-cpp\backward.hpp(789): warning C4183: '__attribute__': missing return type; assumed to be a member function returning 'int'
2>p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\3rdparty\backward-cpp\backward.hpp(795): error C3861: 'backtrace': identifier not found
2>Generating Code...
2>Done building project "behaviortree_cpp_v3.vcxproj" -- FAILED.
3>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug x64 ------
3>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/CMakeLists.txt
3>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/debug/CMakeFiles/generate.stamp is up-to-date.
4>------ Skipped Rebuild All: Project: INSTALL, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration
========== Rebuild All: 2 succeeded, 1 failed, 1 skipped ==========
DJuego
Metadata
Metadata
Assignees
Labels
No labels