添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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 3.编译.

结果提示:
error C2220: 以下警告被视为错误 (编译源文件 C:\Users\aengu\Desktop\behaviac-3.6.39\src\behaviortree\nodes\composites\selector.cpp)

C2220的意思是说警告当作错误, 请降低警告级别.
https://docs.microsoft.com/zh-cn/cpp/error-messages/compiler-errors-1/compiler-error-c2220?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev16.query%3FappId%3DDev16IDEF1%26l%3DZH-CN%26k%3Dk(C2220)%26rd%3Dtrue&view=vs-2019

希望在CMakeLists.txt中加入警告级别设置,比如:
if (MSVC)
add_compile_options("/W3")
endif()
谢谢!!!