Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aeb0d64

Browse files
2 parents ac9c9b9 + 1fb0102 commit aeb0d64

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.2) # version on Ubuntu Xenial
1+
cmake_minimum_required(VERSION 3.5.1) # version on Ubuntu Xenial
22
project(behaviortree_cpp_v3)
33

44
#---- Add the subdirectory cmake ----

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.2)
1+
cmake_minimum_required(VERSION 3.5.1)
22

33
include_directories( ../sample_nodes )
44

include/behaviortree_cpp_v3/bt_factory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ See examples for more information about configuring CMake correctly
113113
#elif _WIN32
114114

115115
#define BT_REGISTER_NODES(factory) \
116-
__declspec(dllexport) void BT_RegisterNodesFromPlugin(BT::BehaviorTreeFactory& factory)
116+
extern "C" void __declspec(dllexport) BT_RegisterNodesFromPlugin(BT::BehaviorTreeFactory& factory)
117117
#endif
118118

119119
#endif

sample_nodes/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.2)
1+
cmake_minimum_required(VERSION 3.5.1)
22

33
include_directories( ../include )
44

@@ -36,4 +36,4 @@ target_compile_definitions(movebase_node_dyn PRIVATE BT_PLUGIN_EXPORT )
3636
set_target_properties(movebase_node_dyn PROPERTIES LIBRARY_OUTPUT_DIRECTORY
3737
${BEHAVIOR_TREE_BIN_DESTINATION} )
3838

39-
39+

0 commit comments

Comments
 (0)