Airsim: Build errors

Created on 13 Apr 2018  Â·  11Comments  Â·  Source: microsoft/AirSim

Hi,
I am getting following build errors. Can someone please comment why these errors appeared and how they can be resolved?

"C:Users\ladmin\Desktop\AirSim\AirSim\AirSim.sln" (default target) (1) ->
"C:Users\ladmin\Desktop\AirSim\AirSim\DroneShell\DroneShell.vcxproj" (default target) (2) ->
"C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj" (default target) (3) ->
(ClCompile target) ->
c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error

  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
    c:\users\ladmin\desktop\airsim\airsim\airlib\include\common\clockbase.hpp(75): error C2220: warning treated as error
  • no 'object' file generated [C:Users\ladmin\Desktop\AirSim\AirSim\AirLib\AirLib.vcxproj]
28 Warning(s)
7 Error(s)

Time Elapsed 00:01:14.71

Build failed - see messages above.

Haider

Most helpful comment

This was mistake in my part. Its fixed now. Sorry about that.

All 11 comments

I do believe this has to do with the update made to ClockSpeed settings for multirotor in Issue #901

Hello!
I just got around this by putting a msr::airlib:: in front of all the ClockFactory in SimModeWorldMultiRotor.cpp. Hope it fixes your problem too.

Hi,
I can't find SimModeWorldMultiRotor.cpp file in Unreal/Plugins/AirSim/Source/SimMode folder. I have only SimModeBase.cpp and SimModeWorldBase.cpp files + their header files.
Should the MultiRotor file be present in the folder? Because i can't find this specific file anywhere.

It's in the Unreal/Plugins/AirSim/Source/Multirotor folder actually.

Hiya,
I have tried what you've told. It still doesnt work. So sad.

I found it, thanks. You mean to say like this in front of all ClockFactory?
msr::airlib::ClockFactory::get ------

I find that Utils::getTimeSinceEpochNanos exists in clockbase.cpp which locates in line 23 and75. The problem occurs in line 75,but it's fine in line 23. That's wierd.

Hi senakicir,
I tried your way but still build got failed.

Hi chiaohaochang,
Are you also getting this same error?

Hi haider04,
Oui.

Could there also a possibility of build errors because i am not using the specified Visual studio as recommended to build it? Currently i am using VS2015 x86 Native Tools Command Prompt instead of x64 version.

This was mistake in my part. Its fixed now. Sorry about that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sinanonur picture sinanonur  Â·  3Comments

zywOwO picture zywOwO  Â·  3Comments

kharyal picture kharyal  Â·  3Comments

r2d2Proton picture r2d2Proton  Â·  3Comments

Kim-BongSu picture Kim-BongSu  Â·  4Comments