You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Blocks project in AirSim v1.3.0 have compilation errors with UE 4.18:
1><path-ro-airsim>\Unreal\Environments\Blocks\Plugins\AirSim\Source\WorldSimApi.cpp(211): error C2660: 'DrawDebugString': function does not take 8 arguments
1>C:\Program Files\Epic Games\UE_4.18\Engine\Source\Runtime\Engine\Public\DrawDebugHelpers.h(47): note: see declaration of 'DrawDebugString'
1><path-ro-airsim>\Unreal\Environments\Blocks\Plugins\AirSim\Source\WorldSimApi.cpp(230): error C2660: 'DrawDebugString': function does not take 8 arguments
1>C:\Program Files\Epic Games\UE_4.18\Engine\Source\Runtime\Engine\Public\DrawDebugHelpers.h(47): note: see declaration of 'DrawDebugString'
It is because DrawDebugString in UE 4.18 was declared to have only 7 arguments. The last argument is missing. This is fixed by UE later (it seems form UE 4.20, see this commit). However, the "empty versions" of this function still not changed but it seems irrelevant to this Airsim issue (I am not familiar with UE's implementation but there is a UE issue mentioned this, see here).
But the Airsim documentation still recommends UE 4.18. I think systematically upgrading UE to newer versions is a good way to fix this problem. Temporarily, I have to delete the last argument of DrawDebugString in WorldSimApi.cpp.
The text was updated successfully, but these errors were encountered:
Yes, the documentation needs to be updated. I believe from this release AirSim will require UE>=4.22 (or maybe even 4.24). Some more PRs in the line (#2482, #2472) will require the newer UE versions
The Blocks project in AirSim v1.3.0 have compilation errors with UE 4.18:
AirSim/Unreal/Plugins/AirSim/Source/WorldSimApi.cpp
Line 211 in 03d239b
AirSim/Unreal/Plugins/AirSim/Source/WorldSimApi.cpp
Line 230 in 03d239b
It is because
DrawDebugString
in UE 4.18 was declared to have only 7 arguments. The last argument is missing. This is fixed by UE later (it seems form UE 4.20, see this commit). However, the "empty versions" of this function still not changed but it seems irrelevant to this Airsim issue (I am not familiar with UE's implementation but there is a UE issue mentioned this, see here).But the Airsim documentation still recommends UE 4.18. I think systematically upgrading UE to newer versions is a good way to fix this problem. Temporarily, I have to delete the last argument of
DrawDebugString
inWorldSimApi.cpp
.The text was updated successfully, but these errors were encountered: