carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.39k stars 3.69k forks source link

Not able to compile successfully carla 0.9.10 on windows 10 make: *** [CarlaUE4Editor] ′í?ó 6 #3645

Closed KNHP closed 3 years ago

KNHP commented 3 years ago

Not able to compile successfully carla 0.9.10 on windows 10 Error type: make: *** [CarlaUE4Editor] ′í?ó 6


F:\carla>make launch -[Setup]: [Batch params]: --boost-toolset msvc-14.1 -[Setup]: Asynchronous jobs: 8 -[Setup]: Boost toolset: msvc-14.1 -[Setup]: Install directory: "F:\carla\Build" -[Setup]: Installing zlib... -[install_zlib]: [Batch params]: --build-dir "F:\carla\Build" -[install_zlib]: A zlib installation already exists. -[install_zlib]: Delete "F:\carla\Build\zlib-install" if you want to force a rebuild. -[install_zlib]: Exiting... -[Setup]: Installing libpng... -[install_libpng]: [Batch params]: --build-dir "F:\carla\Build" --zlib-install-dir "F:\carla\Build\zlib-install" -[install_libpng]: A libpng installation already exists. -[install_libpng]: Delete "F:\carla\Build\libpng-1.2.37-install" if you want to force a rebuild. -[install_libpng]: Exiting... -[Setup]: Installing rpclib... -[install_rpclib]: [Batch params]: --build-dir "F:\carla\Build" -[install_rpclib]: A rpclib installation already exists. -[install_rpclib]: Delete "F:\carla\Build\rpclib-install" if you want to force a rebuild. -[install_rpclib]: Exiting... -[Setup]: Installing Google Test... -[install_gtest]: [Batch params]: --build-dir "F:\carla\Build" -[install_gtest]: A Google Test installation already exists. -[install_gtest]: Delete "F:\carla\Build\gtest-install" if you want to force a rebuild. -[install_gtest]: Exiting... -[Setup]: Installing "Recast & Detour"... -[install_recast]: [Batch params]: --build-dir "F:\carla\Build" -[install_recast]: A "Recast & Detour" installation already exists. -[install_recast]: Delete "F:\carla\Build\recast-cdce4e-install" if you want to force a rebuild. -[install_recast]: Exiting... -[Setup]: Installing Boost... -[install_boost]: [Batch params]: --build-dir "F:\carla\Build" --toolset msvc-14.1 --version 1.72.0 -j 8 -[install_boost]: A Boost installation already exists. -[install_boost]: Delete "F:\carla\Build\boost-1.72.0-install" if you want to force a rebuild. -[install_boost]: Exiting... 1 file(s) copied. 1 file(s) copied. -[Setup]: Installing Xercesc... -[install_xercesc]: [Batch params]: --build-dir "F:\carla\Build" -[install_xercesc]: A xerces installation already exists. -[install_xercesc]: Delete "F:\carla\Build\xerces-c-3.2.3-install" if you want to force a rebuild. -[install_xercesc]: Exiting... -[Setup]: Creating "CMakeLists.txt.in"... -[Setup]: ########### SUCCESS

###########

IMPORTANT!

All the CARLA library dependences should be installed now. (You can remove all "*-src" folders in F:\carla\Build\ directory)

You only need the ASSET PACK with all the meshes and textures.

This script provides the assets for CARLA Latest: You can download the assets from here:

http://carla-assets.s3.amazonaws.com/20201103_4b3ab0c.tar.gz

Unzip it in the "F:\carla\Unreal\CarlaUE4\Content\Carla" folder. If you want another version, search it in F:\carla\Util\ContentVersions.txt.

-[BuildLibCarla]: [Batch params]: --server --client -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363. -- Build debug: ON -- Build release: ON -- Build test: ON -- Configuring done -- Generating done -- Build files have been written to: F:/carla/Build/libcarla-visualstudio Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

carla_server.vcxproj -> F:\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server.lib carla_server_debug.vcxproj -> F:\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server_debug.lib -- Install configuration: "Release" -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363. -- Build debug: ON -- Build release: ON -- Build test: ON -- Configuring done -- Generating done -- Build files have been written to: F:/carla/Build/libcarla-visualstudio Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

carla_client.vcxproj -> F:\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client.lib carla_client_debug.vcxproj -> F:\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client_debug.lib -- Install configuration: "Release" -[BuildLibCarla]: LibCarla server has been successfully installed in "F:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies"! -[BuildLibCarla]: LibCarla client has been successfully installed in "F:\carla\PythonAPI\carla\dependencies"! -[BuildCarlaUE4]: [Batch params]: --build --build ECHO is off. -[BuildCarlaUE4]: Building Unreal Editor... Building CarlaUE4Editor... Using Visual Studio 2017 14.16.27043 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10). [Upgrade] [Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes: [Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true). [Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning). [Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs). [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V2;' in CarlaUE4Editor.Target.cs, and explicitly overriding settings that differ from the new defaults. [Upgrade] Building 5 actions with 8 processes... [1/5] Module.Carla.cpp F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Commandlet/PrepareAssetsForCookingCommandlet.cpp(58): warning C4458: declaration of 'TerrainNodeMaterial' hides class member f:\carla\unreal\carlaue4\plugins\carla\source\carla\commandlet\PrepareAssetsForCookingCommandlet.h(161): note: see declaration of 'UPrepareAssetsForCookingCommandlet::TerrainNodeMaterial' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(510): warning C4458: declaration of 'Role' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(519): warning C4458: declaration of 'Role' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp(46): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\time.h(506): note: see declaration of 'localtime' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/CollisionSensor.cpp(49): warning C4458: declaration of 'Episode' hides class member F:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Sensor/Sensor.h(102): note: see declaration of 'ASensor::Episode' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/DVSCamera.cpp(143): warning C4458: declaration of 'Stream' hides class member F:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Sensor/Sensor.h(100): note: see declaration of 'ASensor::Stream' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/GnssSensor.cpp(51): warning C4458: declaration of 'Stream' hides class member F:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Sensor/Sensor.h(100): note: see declaration of 'ASensor::Stream' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/InertialMeasurementUnit.cpp(53): warning C4458: declaration of 'Owner' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(523): note: see declaration of 'AActor::Owner' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/InertialMeasurementUnit.cpp(189): warning C4458: declaration of 'Stream' hides class member F:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Sensor/Sensor.h(100): note: see declaration of 'ASensor::Stream' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp(138): warning C4458: declaration of 'Episode' hides class member F:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Sensor/Sensor.h(102): note: see declaration of 'ASensor::Episode' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/PixelReader.cpp(96): error C2664: 'bool FPixelReader::WritePixelsToArray(UTextureRenderTarget2D &,TArray<FColor,FDefaultAllocator> &)': cannot convert argument 2 from 'TArray<PixelType,FDefaultAllocator64>' to 'TArray<FColor,FDefaultAllocator> &' with [ PixelType=FColor ] F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp(340): error C2039: 'AutoExposureCalibrationConstant': is not a member of 'FPostProcessSettings' C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(613): note: see declaration of 'FPostProcessSettings' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp(346): error C2039: 'AutoExposureCalibrationConstant': is not a member of 'FPostProcessSettings' C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(613): note: see declaration of 'FPostProcessSettings' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp(544): error C2039: 'bOverride_AutoExposureCalibrationConstant': is not a member of 'FPostProcessSettings' C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(613): note: see declaration of 'FPostProcessSettings' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Walker/WalkerController.cpp(28): warning C4458: declaration of 'Character' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(76): note: see declaration of 'AController::Character' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Walker/WalkerController.cpp(83): warning C4458: declaration of 'Character' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(76): note: see declaration of 'AController::Character' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Walker/WalkerController.cpp(112): warning C4458: declaration of 'Character' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(76): note: see declaration of 'AController::Character' F:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Walker/WalkerController.cpp(126): warning C4458: declaration of 'Character' hides class member C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(76): note: see declaration of 'AController::Character' make: *** [CarlaUE4Editor] ′í?ó 6

BAROBA-3d commented 3 years ago

Hi, You should use 4.24 instead of 4.25 and VS 2017.

corkyw10 commented 3 years ago

Duplicate of #3640