Skip to content

Unity part of the Build FAILED. error C2259 #1964

Description

@Vahe987

Unity part of the Build FAILED. error C2259

Build of the project succeeded,but after that when I run the 'build.cmd' in Unity folder it fails.

in the simmodebase.cpp line 18
world_sim_api_.reset(new WorldSimApi(this, vehicle_name_));
I was able to build if I ignore this part, like doing "world_sim_api_.reset()"instead,
but this should be fixed, don't know what it can break now

here is the error message

Build FAILED.

"c:\Mila\AirSim\Unity\AirLibWrapper\AirsimWrapper.sln" (Clean;Build target) (1) ->
"c:\Mila\AirSim\Unity\AirLibWrapper\AirsimWrapper\AirsimWrapper.vcxproj.metaproj" (default target) (2:2) ->
"c:\Mila\AirSim\Unity\AirLibWrapper\AirsimWrapper\AirsimWrapper.vcxproj" (default target) (5:2) ->
(ClCompile target) ->
c:\mila\airsim\unity\airlibwrapper\airsimwrapper\source\simmode\simmodebase.cpp(18): error C2259: 'WorldSimApi': cannot instantiate abstract class [c:\Mila\AirSim\Unity\AirLibWrapper\AirsimWrapper\AirsimWrapper.vcxproj]

0 Warning(s)
1 Error(s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions