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

Building BehaviorTree.CPP (Visual Studio 2017/Windows 10 x64) #63

Closed
DJuego opened this issue Mar 2, 2019 · 13 comments
Closed

Building BehaviorTree.CPP (Visual Studio 2017/Windows 10 x64) #63

DJuego opened this issue Mar 2, 2019 · 13 comments

Comments

@DJuego
Copy link

DJuego commented Mar 2, 2019

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

@facontidavide
Copy link
Collaborator

Hi @DJuego

I am a fan of cross platform too. Let's try to fix this (I will also add an Appveyor CI to be sure that it always compile in Windows).

Neither ZMQ nor GTEST should be mandatory.

I will try to fix this the next week.

@lukeliao
Copy link

lukeliao commented Mar 6, 2019

Hi, I am also interested in this cross platform part.
I plan to use this library to deal with some complicated robot manipulation task.
Very glad to see your progress and thank you for your contribution!!

@facontidavide
Copy link
Collaborator

Working on it...

facontidavide pushed a commit that referenced this issue Mar 8, 2019
@facontidavide
Copy link
Collaborator

well, THAT was a lot of work. Let me know if everything works

@DJuego
Copy link
Author

DJuego commented Mar 8, 2019

Thank you very much for your great efforts! I am very grateful.

Unfortunately, there are problems with the Release configuration...

I am working with Visual Studio 2017 (msvc 15.9.8)
I got:

1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Release Win32 ------
1>Checking Build System
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
2>------ Rebuild All started: Project: behaviortree_cpp_v3, Configuration: Release Win32 ------
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/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(180): error C2220: warning treated as error - no 'object' file generated
2>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\3rdparty\coroutine/coroutine.h(180): warning C4189: 'routine': local variable is initialized but not referenced
2>basic_types.cpp
2>behavior_tree.cpp
2>blackboard.cpp
2>bt_factory.cpp
2>decorator_node.cpp
2>condition_node.cpp
2>control_node.cpp
2>shared_library.cpp
2>tree_node.cpp
2>xml_parsing.cpp
2>inverter_node.cpp
2>repeat_node.cpp
2>retry_node.cpp
2>subtree_node.cpp
2>timeout_node.cpp
2>fallback_node.cpp
2>parallel_node.cpp
2>reactive_sequence.cpp
2>reactive_fallback.cpp
2>Generating Code...
2>Compiling...
2>sequence_node.cpp
2>sequence_star_node.cpp
2>bt_cout_logger.cpp
2>bt_file_logger.cpp
2>bt_minitrace_logger.cpp
2>tinyxml2.cpp
2>minitrace.cpp
2>backward.cpp
2>shared_library_WIN.cpp
2>Generating Code...
2>Done building project "behaviortree_cpp_v3.vcxproj" -- FAILED.
3>------ Rebuild All started: Project: crossdoor_nodes, Configuration: Release Win32 ------
4>------ Rebuild All started: Project: dummy_nodes, Configuration: Release Win32 ------
5>------ Rebuild All started: Project: movebase_node, Configuration: Release Win32 ------
6>------ Rebuild All started: Project: bt_log_cat, Configuration: Release Win32 ------
7>------ Rebuild All started: Project: bt_plugin_manifest, Configuration: Release Win32 ------
8>------ Rebuild All started: Project: crossdoor_nodes_dyn, Configuration: Release Win32 ------
9>------ Rebuild All started: Project: dummy_nodes_dyn, Configuration: Release Win32 ------
10>------ Rebuild All started: Project: movebase_node_dyn, Configuration: Release Win32 ------
3>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
5>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
7>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/tools/CMakeLists.txt
9>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
6>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/tools/CMakeLists.txt
4>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
8>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
5>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
3>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
6>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
9>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
7>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
8>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
4>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
9>dummy_nodes.cpp
7>bt_plugin_manifest.cpp
3>crossdoor_nodes.cpp
6>bt_log_cat.cpp
5>movebase_node.cpp
4>dummy_nodes.cpp
8>crossdoor_nodes.cpp
10>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
10>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
10>movebase_node.cpp
6>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\tools\bt_log_cat.cpp(15): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
6>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
6>Done building project "bt_log_cat.vcxproj" -- FAILED.
11>------ Rebuild All started: Project: t01_first_tree_dynamic, Configuration: Release Win32 ------
11>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
8>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
11>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
7>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
8>Done building project "crossdoor_nodes_dyn.vcxproj" -- FAILED.
12>------ Rebuild All started: Project: t07_wrap_legacy, Configuration: Release Win32 ------
3>crossdoor_nodes.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Release\crossdoor_nodes.lib
13>------ Rebuild All started: Project: t05_crossdoor, Configuration: Release Win32 ------
7>Done building project "bt_plugin_manifest.vcxproj" -- FAILED.
14>------ Rebuild All started: Project: t08_additional_node_args, Configuration: Release Win32 ------
5>movebase_node.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Release\movebase_node.lib
11>t01_build_your_first_tree.cpp
15>------ Rebuild All started: Project: t09_async_actions_coroutines, Configuration: Release Win32 ------
13>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
12>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
14>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
12>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
13>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
14>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
9>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
9>Done building project "dummy_nodes_dyn.vcxproj" -- FAILED.
15>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
13>t05_crossdoor.cpp
15>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
14>t08_additional_node_args.cpp
15>t09_async_actions_coroutines.cpp
12>t07_wrap_legacy.cpp
10>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
10>Done building project "movebase_node_dyn.vcxproj" -- FAILED.
4>dummy_nodes.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Release\dummy_nodes.lib
16>------ Rebuild All started: Project: t01_first_tree_static, Configuration: Release Win32 ------
17>------ Rebuild All started: Project: t02_basic_ports, Configuration: Release Win32 ------
18>------ Rebuild All started: Project: t03_generic_ports, Configuration: Release Win32 ------
11>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
11>Done building project "t01_first_tree_dynamic.vcxproj" -- FAILED.
13>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
19>------ Rebuild All started: Project: t04_reactive_sequence, Configuration: Release Win32 ------
13>Done building project "t05_crossdoor.vcxproj" -- FAILED.
20>------ Rebuild All started: Project: t06_subtree_port_remapping, Configuration: Release Win32 ------
14>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
16>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
18>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
14>Done building project "t08_additional_node_args.vcxproj" -- FAILED.
17>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
21>------ Rebuild All started: Project: t10_include_trees, Configuration: Release Win32 ------
19>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
18>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
16>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
17>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
19>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
20>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
16>t01_build_your_first_tree.cpp
21>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
17>t02_basic_ports.cpp
18>t03_generic_ports.cpp
19>t04_reactive_sequence.cpp
21>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
20>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
20>t06_subtree_port_remapping.cpp
21>t10_include_trees.cpp
15>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
21>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
21>Done building project "t10_include_trees.vcxproj" -- FAILED.
16>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
17>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
15>Done building project "t09_async_actions_coroutines.vcxproj" -- FAILED.
16>Done building project "t01_first_tree_static.vcxproj" -- FAILED.
17>Done building project "t02_basic_ports.vcxproj" -- FAILED.
19>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
18>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
18>Done building project "t03_generic_ports.vcxproj" -- FAILED.
19>Done building project "t04_reactive_sequence.vcxproj" -- FAILED.
12>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
12>Done building project "t07_wrap_legacy.vcxproj" -- FAILED.
20>LINK : fatal error LNK1181: cannot open input file '..\Release\behaviortree_cpp_v3.lib'
20>Done building project "t06_subtree_port_remapping.vcxproj" -- FAILED.
22>------ Rebuild All started: Project: ALL_BUILD, Configuration: Release Win32 ------
22>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/CMakeLists.txt
22>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/CMakeFiles/generate.stamp is up-to-date.
23>------ Skipped Rebuild All: Project: INSTALL, Configuration: Release Win32 ------
23>Project not selected to build for this solution configuration 
========== Rebuild All: 5 succeeded, 17 failed, 1 skipped ==========

However, in debug configuration, it seems work.

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
2>------ Build started: Project: behaviortree_cpp_v3, Configuration: Debug Win32 ------
2>behaviortree_cpp_v3.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\Debug\behaviortree_cpp_v3.lib
3>------ Build started: Project: crossdoor_nodes, Configuration: Debug Win32 ------
4>------ Build started: Project: dummy_nodes, Configuration: Debug Win32 ------
5>------ Build started: Project: movebase_node, Configuration: Debug Win32 ------
6>------ Build started: Project: bt_log_cat, Configuration: Debug Win32 ------
7>------ Build started: Project: bt_plugin_manifest, Configuration: Debug Win32 ------
8>------ Build started: Project: crossdoor_nodes_dyn, Configuration: Debug Win32 ------
9>------ Build started: Project: dummy_nodes_dyn, Configuration: Debug Win32 ------
10>------ Build started: Project: movebase_node_dyn, Configuration: Debug Win32 ------
5>movebase_node.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\movebase_node.lib
3>crossdoor_nodes.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\crossdoor_nodes.lib
4>dummy_nodes.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\dummy_nodes.lib
6>bt_log_cat.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\tools\Debug\bt_log_cat.exe
7>bt_plugin_manifest.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\tools\Debug\bt_plugin_manifest.exe
8>crossdoor_nodes_dyn.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\crossdoor_nodes_dyn.dll
10>movebase_node_dyn.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\movebase_node_dyn.dll
9>dummy_nodes_dyn.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\Debug\dummy_nodes_dyn.dll
11>------ Build started: Project: t01_first_tree_dynamic, Configuration: Debug Win32 ------
12>------ Build started: Project: t01_first_tree_static, Configuration: Debug Win32 ------
13>------ Build started: Project: t02_basic_ports, Configuration: Debug Win32 ------
14>------ Build started: Project: t03_generic_ports, Configuration: Debug Win32 ------
15>------ Build started: Project: t04_reactive_sequence, Configuration: Debug Win32 ------
16>------ Build started: Project: t05_crossdoor, Configuration: Debug Win32 ------
17>------ Build started: Project: t06_subtree_port_remapping, Configuration: Debug Win32 ------
18>------ Build started: Project: t07_wrap_legacy, Configuration: Debug Win32 ------
11>t01_first_tree_dynamic.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t01_first_tree_dynamic.exe
18>t07_wrap_legacy.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t07_wrap_legacy.exe
19>------ Build started: Project: t08_additional_node_args, Configuration: Debug Win32 ------
20>------ Build started: Project: t09_async_actions_coroutines, Configuration: Debug Win32 ------
16>t05_crossdoor.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t05_crossdoor.exe
21>------ Build started: Project: t10_include_trees, Configuration: Debug Win32 ------
19>t08_additional_node_args.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t08_additional_node_args.exe
13>t02_basic_ports.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t02_basic_ports.exe
15>t04_reactive_sequence.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t04_reactive_sequence.exe
17>t06_subtree_port_remapping.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t06_subtree_port_remapping.exe
14>t03_generic_ports.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t03_generic_ports.exe
20>t09_async_actions_coroutines.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t09_async_actions_coroutines.exe
12>t01_first_tree_static.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t01_first_tree_static.exe
21>t10_include_trees.vcxproj -> P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\Debug\t10_include_trees.exe
22>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
23>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
23>Project not selected to build for this solution configuration 
========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========

DJuego

@facontidavide
Copy link
Collaborator

facontidavide commented Mar 8, 2019

Pull from master and try again

@DJuego
Copy link
Author

DJuego commented Mar 8, 2019

Wops! It works!

Debug Win32
Release Win32

Congrats!

However, actually, i work with the x64 :-/ Sorry!

So I create a Debug x64 and Release x64 configurations. I copy settings from Win32.

When i build the Debug x64 configuration i get:

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/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/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/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>basic_types.cpp
2>behavior_tree.cpp
2>blackboard.cpp
2>bt_factory.cpp
2>decorator_node.cpp
2>condition_node.cpp
2>control_node.cpp
2>shared_library.cpp
2>tree_node.cpp
2>xml_parsing.cpp
2>inverter_node.cpp
2>repeat_node.cpp
2>retry_node.cpp
2>subtree_node.cpp
2>timeout_node.cpp
2>fallback_node.cpp
2>parallel_node.cpp
2>reactive_sequence.cpp
2>reactive_fallback.cpp
2>Generating Code...
2>Compiling...
2>sequence_node.cpp
2>sequence_star_node.cpp
2>bt_cout_logger.cpp
2>bt_file_logger.cpp
2>bt_minitrace_logger.cpp
2>tinyxml2.cpp
2>minitrace.cpp
2>backward.cpp
2>shared_library_WIN.cpp
2>Generating Code...
2>Done building project "behaviortree_cpp_v3.vcxproj" -- FAILED.
3>------ Rebuild All started: Project: crossdoor_nodes, Configuration: Debug x64 ------
4>------ Rebuild All started: Project: dummy_nodes, Configuration: Debug x64 ------
5>------ Rebuild All started: Project: movebase_node, Configuration: Debug x64 ------
6>------ Rebuild All started: Project: bt_log_cat, Configuration: Debug x64 ------
7>------ Rebuild All started: Project: bt_plugin_manifest, Configuration: Debug x64 ------
8>------ Rebuild All started: Project: crossdoor_nodes_dyn, Configuration: Debug x64 ------
9>------ Rebuild All started: Project: dummy_nodes_dyn, Configuration: Debug x64 ------
10>------ Rebuild All started: Project: movebase_node_dyn, Configuration: Debug x64 ------
4>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
3>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
9>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (crossdoor_nodes.vcxproj, dummy_nodes.vcxproj).  This can lead to incorrect clean and rebuild behavior.
10>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (crossdoor_nodes.vcxproj, dummy_nodes.vcxproj).  This can lead to incorrect clean and rebuild behavior.
8>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (crossdoor_nodes.vcxproj, dummy_nodes.vcxproj).  This can lead to incorrect clean and rebuild behavior.
5>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (crossdoor_nodes.vcxproj, dummy_nodes.vcxproj).  This can lead to incorrect clean and rebuild behavior.
3>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
6>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/tools/CMakeLists.txt
10>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
9>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
8>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
5>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/sample_nodes/CMakeLists.txt
5>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
3>crossdoor_nodes.cpp
8>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
9>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
10>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
6>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
5>movebase_node.cpp
9>dummy_nodes.cpp
9>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\sample_nodes\dummy_nodes.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
9>Done building project "dummy_nodes_dyn.vcxproj" -- FAILED.
11>------ Rebuild All started: Project: t01_first_tree_dynamic, Configuration: Debug x64 ------
8>crossdoor_nodes.cpp
8>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\sample_nodes\crossdoor_nodes.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
8>Done building project "crossdoor_nodes_dyn.vcxproj" -- FAILED.
12>------ Rebuild All started: Project: t07_wrap_legacy, Configuration: Debug x64 ------
10>movebase_node.cpp
6>bt_log_cat.cpp
7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\tools\x64\debug\vc141.pdb' because it is being used by another process.
11>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (bt_log_cat.vcxproj).  This can lead to incorrect clean and rebuild behavior.
12>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
11>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
12>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
7>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/tools/CMakeLists.txt
12>t07_wrap_legacy.cpp
11>t01_build_your_first_tree.cpp
7>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/tools/CMakeFiles/generate.stamp is up-to-date.
12>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t07_wrap_legacy.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
12>Done building project "t07_wrap_legacy.vcxproj" -- FAILED.
13>------ Rebuild All started: Project: t08_additional_node_args, Configuration: Debug x64 ------
4>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/sample_nodes/CMakeFiles/generate.stamp is up-to-date.
13>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
7>bt_plugin_manifest.cpp
13>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t07_wrap_legacy.vcxproj).  This can lead to incorrect clean and rebuild behavior.
4>dummy_nodes.cpp
7>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\tools\bt_plugin_manifest.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\tools\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
7>Done building project "bt_plugin_manifest.vcxproj" -- FAILED.
14>------ Rebuild All started: Project: t09_async_actions_coroutines, Configuration: Debug x64 ------
13>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
13>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
14>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
6>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\tools\bt_log_cat.cpp(60): warning C4267: 'argument': conversion from 'size_t' to 'flatbuffers::uoffset_t', possible loss of data
13>t08_additional_node_args.cpp
14>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj).  This can lead to incorrect clean and rebuild behavior.
13>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t08_additional_node_args.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
13>Done building project "t08_additional_node_args.vcxproj" -- FAILED.
6>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\tools\bt_log_cat.cpp(15): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
6>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
14>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
14>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
14>t09_async_actions_coroutines.cpp
14>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t09_async_actions_coroutines.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
14>Done building project "t09_async_actions_coroutines.vcxproj" -- FAILED.
6>x64\Debug\bt_log_cat.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
6>Done building project "bt_log_cat.vcxproj" -- FAILED.
10>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\sample_nodes\movebase_node.cpp : fatal error C1083: Cannot open compiler generated file: 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\sample_nodes\x64\Debug\movebase_node.obj': Permission denied
10>Done building project "movebase_node_dyn.vcxproj" -- FAILED.
5>x64\Debug\movebase_node.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
5>Done building project "movebase_node.vcxproj" -- FAILED.
3>x64\Debug\crossdoor_nodes.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
3>Done building project "crossdoor_nodes.vcxproj" -- FAILED.
15>------ Rebuild All started: Project: t05_crossdoor, Configuration: Debug x64 ------
11>LINK : fatal error LNK1104: cannot open file 'x64\Debug\t01_build_your_first_tree.obj'
11>Done building project "t01_first_tree_dynamic.vcxproj" -- FAILED.
15>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
4>x64\Debug\dummy_nodes.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
15>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
15>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
4>Done building project "dummy_nodes.vcxproj" -- FAILED.
16>------ Rebuild All started: Project: t01_first_tree_static, Configuration: Debug x64 ------
17>------ Rebuild All started: Project: t02_basic_ports, Configuration: Debug x64 ------
18>------ Rebuild All started: Project: t03_generic_ports, Configuration: Debug x64 ------
19>------ Rebuild All started: Project: t04_reactive_sequence, Configuration: Debug x64 ------
20>------ Rebuild All started: Project: t06_subtree_port_remapping, Configuration: Debug x64 ------
21>------ Rebuild All started: Project: t10_include_trees, Configuration: Debug x64 ------
15>t05_crossdoor.cpp
18>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
16>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
17>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
19>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
20>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
21>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppClean.targets(76,5): warning : The process cannot access the file 'p:\compilados\x32-x64\trabajo_msvc2017_x64\behaviortree.cpp\builds\examples\x64\debug\vc141.pdb' because it is being used by another process.
16>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t05_crossdoor.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
18>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t05_crossdoor.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
20>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t05_crossdoor.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
20>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
19>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t05_crossdoor.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
19>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
17>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_dynamic.vcxproj, t05_crossdoor.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
17>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
21>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug\) contains files shared from another project (t01_first_tree_static.vcxproj, t01_first_tree_dynamic.vcxproj, t02_basic_ports.vcxproj, t03_generic_ports.vcxproj, t04_reactive_sequence.vcxproj, t05_crossdoor.vcxproj, t06_subtree_port_remapping.vcxproj, t07_wrap_legacy.vcxproj, t08_additional_node_args.vcxproj, t09_async_actions_coroutines.vcxproj).  This can lead to incorrect clean and rebuild behavior.
21>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
18>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
16>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/examples/CMakeLists.txt
19>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
17>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
20>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
21>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
20>t06_subtree_port_remapping.cpp
20>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t06_subtree_port_remapping.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
20>Done building project "t06_subtree_port_remapping.vcxproj" -- FAILED.
17>t02_basic_ports.cpp
17>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t02_basic_ports.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
17>Done building project "t02_basic_ports.vcxproj" -- FAILED.
19>t04_reactive_sequence.cpp
19>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t04_reactive_sequence.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
19>Done building project "t04_reactive_sequence.vcxproj" -- FAILED.
21>t10_include_trees.cpp
21>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t10_include_trees.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
21>Done building project "t10_include_trees.vcxproj" -- FAILED.
16>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
18>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/examples/CMakeFiles/generate.stamp is up-to-date.
16>t01_build_your_first_tree.cpp
16>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t01_build_your_first_tree.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
18>t03_generic_ports.cpp
18>P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\examples\t03_generic_ports.cpp : fatal error C1041: cannot open program database 'P:\Compilados\x32-x64\TRABAJO_MSVC2017_x64\BehaviorTree.CPP\builds\examples\x64\Debug\vc141.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
16>Done building project "t01_first_tree_static.vcxproj" -- FAILED.
18>Done building project "t03_generic_ports.vcxproj" -- FAILED.
15>x64\Debug\t05_crossdoor.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
15>Done building project "t05_crossdoor.vcxproj" -- FAILED.
22>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug x64 ------
22>Building Custom Rule P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/CMakeLists.txt
22>CMake does not need to re-run because P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/BehaviorTree.CPP/builds/CMakeFiles/generate.stamp is up-to-date.
23>------ Skipped Rebuild All: Project: INSTALL, Configuration: Debug x64 ------
23>Project not selected to build for this solution configuration 
========== Rebuild All: 2 succeeded, 20 failed, 1 skipped ==========

Sorry again!
DJuego

@facontidavide facontidavide reopened this Mar 8, 2019
@facontidavide
Copy link
Collaborator

For the time being I can't spend more time on this. I reopened the issue to deal with it in the future

@lukeliao
Copy link

lukeliao commented Mar 9, 2019

@DJuego Hi, I compile all code successfully.
Hint:
Comment CMakeLists.txt line 165-169
Your problem is that compiler catch a warning in corountine.h and regard it as an error
And I have met with some problem using zmq in windows with vcpkg.
When I finish all problems, I will pull a request

@DJuego
Copy link
Author

DJuego commented Mar 9, 2019

Thank you, @lukeliao. That seems like good news. I have to admit that I'm too used to using header-only libraries with zero-dependencies. My fault. Portability and simplicity in integration are crucial for me. I only use CMake to compile tests or examples when necessary.

DJuego

@Masadow
Copy link
Contributor

Masadow commented Mar 10, 2019

@facontidavide Would be nice if you could add the .sln or .vcxproj file somewhere so we don't have to configure everything by ourself :)

@facontidavide
Copy link
Collaborator

@Masadow compilation will always be done with cmake, I am afraid .sln or .vcxproj might go "out of synch" and give me extra headache...

@DJuego thanks for being patient. the problem has been finally fixed.

@lukeliao I haven't had time to check ZMQ on windows, yet. My primary platform is Linux.

@DJuego
Copy link
Author

DJuego commented Mar 12, 2019

@DJuego thanks for being patient. the problem has been finally fixed.

Indeed!. I can confirm it. Building is working. :-) Thanks!

However, I have problems and discrepancies (debug vs release) when executing any examples. I attached the console outputs in debug and release settings for all official examples.

For example; "t01_first_tree_static.exe" in debug produce:

t01_error

t04_reactive_sequence.exe produce differents outputs in Debug and Release

etc

DEBUG:
examples_in_debug

RELEASE:
examples_in_release

Maybe it has to do with gtest is disabled? Has anyone already experimented with the examples in Windows x64?

In any case, don't worry for now! Surely, when we proceed to debug the examples we will have more details.

Thank you very very very much, @facontidavide !! Your effort and concern to bring this library to users of your non-primary OS, compiler, etc. deserves our acknowledgment.

DJuego

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

4 participants