Building on Windows 0.9.X

New automated instructions
Make sure you have:
Unreal Engine 4.19
Visual Studio 2017 (as default version, if not set it)

Windows SDK 10 (should be installed with VS2017)
Windows SDK 8.1 (select it when you install VS2017 or after)

make
cmake
python 3 (x64)

For more information about how to set up the Visual Studio 2017 and all it's components in order to build a project have a look at Unreal Engine Visual Studio setup
Compilation errors (C2440 or C2672)
If you also have installed other version of Visual Studio or Microsoft Compiler and get any error during the build as C2440 or C2672 this is probably because is not using the 2017 compiler, so try first to uninstall the other ones and rebuild again.
If you would like to keep the other version of Visual Studio edit %appdata%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml and <path_to_unreal_engine_installation>\UE_4.19\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml adding the following lines under Configuration tag:
<VCProjectFileGenerator>
    <Version>VisualStudio2017</Version>
</VCProjectFileGenerator>

<WindowsPlatform>
    <Compiler>VisualStudio2017</Compiler>
</WindowsPlatform>

Unreal Engine 4.19 not detected
No information has been written in the Windows registry, try to reinstall Unreal or take a look at the next post.
Carla instructions example:
1) git clone https://github.com/carla-simulator/carla.git

2) Download https://drive.google.com/uc?id=1FtC00CrDb7Kz5StBAwb6vqOGbzZtpROx&export=download
3) Extract in Unreal/CarlaUE4/Content/Carla

4) make launch

Before posting in this issue:

Search for similar comments (just a quick ctrl+F search).
Make sure you use the correct Unreal Engine version.

If your questions satisfy the previous points, we will be glad to answer them. :grimacing:
Discord
Consider join our discord channel for a further talk.
We have a Windows specific channel.

Manual build
Follow the instructions from 1 to 4, at this point, double-clicking on Unreal/CarlaUE4/CarlaUE4.uproject should work. A warning about Carla plugin being not compatible appears sometimes, it’s an Unreal’s bug and can be ignored, press no to disable Carla plugin. Then press yes when asked to compile the missing modules.
If that doesn’t work, you can open the project with Visual Studio. Right click the CarlaUE4.uproject and select Generate Visual Studio Project Files. Then open the Visual Studio solution it generates (*.sln). Hopefully this will give some hints on what fails.

PS: If you are coming from an open issue related with the build please make reference to it

Is it Windows 10 SDK? I just tried on a PC after new installation of VC 2017 and Unreal 4.19 and the Unreal log says:
Reflection code generated for CarlaUE4Editor in 13,6607113 seconds
@progress pop
ERROR: Windows SDK v8.1 must be installed in order to build this target.

Hi @grafandreas
I took a look at the Visual Studio setup for the Unreal Engine, and yes, it seems they ask for SDK 8.1.
You can install it using the Visual Studio Installer, press Modify, under the tab Individual componentes search for SDKs, libraries and framework and check the Windows 8.1 SDK, for last press Modify.

I also failed to compile it. The errors are listed below:
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2440	'initializing': cannot convert from 'initializer list' to 'FActorAttribute'	CarlaUE4	D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp	252
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2672	'TArray<FActorAttribute,FDefaultAllocator>::Emplace': no matching overloaded function found	CarlaUE4	D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp	252
Severity	Code	Description	Project	File	Line	Suppression State
Error		UBT ERROR: Failed to produce item: D:\carla\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\DebugGame\UE4Editor-Carla-Win64-DebugGame.lib	CarlaUE4	D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\UnrealBuildTool	1
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3075	The command "D:\Epic\UE_4.19\Engine\Build\BatchFiles\Build.bat CarlaUE4Editor Win64 DebugGame "D:\carla\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.	CarlaUE4	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	41

@BrianN92 I experienced this too and it went away after installing VC 2017 and everything on a PC without a previous VC installation. Note that, if you have more than one VC installation on your PC, maybe an older version is being used during build (IIRC, the build files ask for VC 2015 as minimum, but that is not sufficient).

If during the compilation you are getting an error like initializing': cannot convert from 'initializer list' to 'FActorAttribute please update Visual Studio to the latest version as the compiler of your current version of VS2017 doesn't support that kind of initialization.

@overlapjho Have you manage to fix it? It seems like is missing all the dependencies. Sorry for the delay in response, we have been in vacations.

@iFuSiiOnzZ not yet, I've tried several solutions from other issues did not work

@overlapjho take a look if under Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies you have the next folder structure:
includes
    - boost
    - carla
    - compiler
    - rpc

lib
    - carla_server.lib
    - carla_server_debug.lib
    - libboost_date_time-vc141-mt-x64-1_68.lib
    - libboost_system-vc141-mt-x64-1_68.lib
    - rpc.lib

@iFuSiiOnzZ  yes I have those, this is my recent error product when i try to build it earlier

1>------ Rebuild All started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Rebuild All started: Project: CarlaUE4, Configuration: Development_Editor x64 ------
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\UE4.vcxproj]
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\UE4.vcxproj]
2>Cleaning CarlaUE4Editor Binaries...
2>Creating makefile for CarlaUE4Editor (no existing makefile)
2>Performing full C++ include scan (no include cache file)
2>Parsing headers for CarlaUE4Editor
2>  Running UnrealHeaderTool "C:\carla\Unreal\CarlaUE4\CarlaUE4.uproject" "C:\carla\Unreal\CarlaUE4\Intermediate\Build\Win64\CarlaUE4Editor\Development\CarlaUE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>Reflection code generated for CarlaUE4Editor in 53.2410485 seconds
2>Performing 17 actions (2 in parallel)
2>PCH.CarlaUE4.cpp
2>SharedPCH.Engine.cpp
2>[3/17] Resource ModuleVersionResource.rc.inl
2>Module.Carla.cpp
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(252): error C2440: 'initializing': cannot convert from 'initializer list' to 'FActorAttribute'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(252): note: No constructor could take the source type, or constructor overload resolution was ambiguous
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(252): error C2672: 'TArray<FActorAttribute,FDefaultAllocator>::Emplace': no matching overloaded function found
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/predef/other/endian.h(151): warning C4668: 'MSGPACK_ARCH_AMD64' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17005): warning C4668: '_APISET_RTLSUPPORT_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(73): warning C4668: '_APISET_INTERLOCKED_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\processthreadsapi.h(1170): warning C4668: '_WIN32_WINNT_WINTHRESHOLD' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(357): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(472): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(1302): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8618): warning C4668: 'NTDDI_WIN7SP1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/array_ref.hpp(262): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/array_ref.hpp(267): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/map.hpp(204): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/map.hpp(210): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector.hpp(98): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector.hpp(103): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_char.hpp(35): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_char.hpp(40): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_char.hpp(48): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_char.hpp(53): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_unsigned_char.hpp(35): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_unsigned_char.hpp(40): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_unsigned_char.hpp(48): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\rpc/msgpack/v1/adaptor/vector_unsigned_char.hpp(53): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\boost/throw_exception.hpp(3): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\boost/throw_exception.hpp(3): warning C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\boost/predef/other/endian.h(151): warning C4668: 'BOOST_ARCH_AMD64' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\shared\ntverp.h(121): warning C4668: 'DBG' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\shared\ntverp.h(128): warning C4668: 'BETA' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\shared\ntverp.h(134): warning C4668: 'OFFICIAL_BUILD' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\boost/smart_ptr/shared_ptr.hpp(833): warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\boost/asio/detail/impl/win_iocp_socket_service_base.ipp(253): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'cancel_io_ex_t'
2>        Calling this function through the result pointer may cause your program to fail
2>Module.Carla.gen.cpp
2>[6/17] Resource PCLaunch.rc
2>CarlaUE4GameModeBase.gen.cpp
2>CarlaUE4.init.gen.cpp
2>CarlaMapGenerator.gen.cpp
2>CarlaUE4GameModeBase.cpp
2>CarlaMapGenerator.cpp
2>CarlaUE4.cpp
2>[13/17] Resource PCLaunch.rc
2>[14/17] Link UE4Editor-CarlaUE4.lib
2>   Creating library C:\carla\Unreal\CarlaUE4\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-CarlaUE4.lib and object C:\carla\Unreal\CarlaUE4\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-CarlaUE4.exp
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\carla\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Carla.lib
2>Total build time: 567.10 seconds (Local executor: 0.00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command "D:\UE_4.19\Engine\Build\BatchFiles\Rebuild.bat CarlaUE4Editor Win64 Development "C:\carla\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited with code -1.
2>Done building project "CarlaUE4.vcxproj" -- FAILED.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

@overlapjho As compilation errors I am seeing error C2440 and error C2672, all the others are warnings. Make sure  you have the latest version of VS2017 (as the current version of VS2017 that you have the compiler doesn't support those features).
Can you also specify wich version do you have? On Visual Studio go to Help -> About Microsoft Visual Studio, mine is 15.7.6

@overlapjho Do you have any other versión of Visual Studio intalled? If you have it can you uninstall it? It should give a few warning but any error, strange.
PS: Can you join discord to make the conversation more fluent?

If you also have installed other version of Visual Studio or Microsoft Compiler and get any error during the build as C2440 or C2672 this is probably because is not using the 2017 compiler, so try first to uninstall the other ones and rebuild again.
If you would like to keep the other version of Visual Studio edit %appdata%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml adding the following lines:
<VCProjectFileGenerator>
    <Version>VisualStudio2017</Version>
</VCProjectFileGenerator>

<WindowsPlatform>
    <Compiler>VisualStudio2017</Compiler>
</WindowsPlatform>

Hi,
I've successfully built carla using the instruction above (windows) , also I was able to get hit play or run CarlaUE4.exe stand alone. but when I ran carla\PythonClient\manual_control unreal crashes and I get the following error

Hi @M-Hammod
We tried to reproduce the error but we could not, can you try to compile and execute Carla from Visual Studio and when it crashes try to provide more information about the crash (call stack of Carla, etc). It seems like the some exception generated from the rpclib it wasn't captured.

Hi @iFuSiiOnzZ,
it seems that there is a difference between the manual_control.py under PythonAPI and PythonClient, this problem went away when I used PythonAPI code, also I have to run setup.py build & install.
Thanks.

Thank you for the feedback @M-Hammod, PythonAPI is for Carla >= 0.9 and PythonClient for Carla < 0.9. In the future when the 0.9.X will be stable, legacy files it will be removed.

@overlapjho @grafandreas @iFuSiiOnzZ
Hi
I have met the same problem.
“E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.sln”(Default target) (1) -> “E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj”(Default target) (2) ->
(Build target) ->
E:\CARLA\carlamaster\carlamaster\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(252): error C2440: “initializing”: cannot convert from 'initializer list' to 'FActorAttribute' [E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
E:\CARLA\carlamaster\carlamaster\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(252): error C2672: 'TArray<FActorAttribute,FDefaultAllocator>::Emplace': no matching overloaded function found
[E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
UnrealBuildTool : error : UBT ERROR: Failed to produce item: E:\CARLA\carlamaster\carlamaster\Unreal\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4-Carla.lib [E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command“"D:\AirSim Project\ue4_4.19.2\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4 Win64 Development "E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild”exited with code 5. Please verify that you have sufficient rights to run this command.
[E :\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
I ever installed Visual Studio 2015. I have tried many ways to remove it compeletely.
But it does not work.
Help!

Hi @gut-yu
Have you tried to edit %appdata%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml setting the compiler and the version to VisualStudio2017? On the first post you have what you have to add to the file. Make a clean before before recompile again.
make clean
make launch

If is not working edit the Util\BuildTools\BuildCarlaUE4.bat and on line 134 add -2017 after -game -rocket -progress. the line should be like this -game -rocket -progress -2017 now

@iFuSiiOnzZ
I've added the lines.It works.
However,there is still an error as followed :
“E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.sln”(Default target) (1) ->   “E:\CARLA\carla-master\carlamaster\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj”(Default target) (2) ->        (Build target) ->          UnrealBuildTool : error : multiple root elements. Line 4, location 2. [E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]          C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3073: command“"D: \AirSim Project\ue4_4.19.2\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4 Win64 Development "E:\CARLA\carla        -master\carla-master\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild”exited with code 1.  [E:\CARLA\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
What should I do?

First time that I see that error, you XML file look like this?
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
    <VCProjectFileGenerator>
        <Version>VisualStudio2017</Version>
    </VCProjectFileGenerator>

    <WindowsPlatform>
        <Compiler>VisualStudio2017</Compiler>
    </WindowsPlatform>
</Configuration>

I just added the lines like this:
`

VisualStudio2017

VisualStudio2017
`
Anything wrong?

I just added these lines at the end :

Anything wrong?

I changed the position of these lines as you showed me .
It works !!!
Thanks a lot ! @iFuSiiOnzZ

You are welcome @gut-yu : )

i tried 'make clean' and then 'make launch-editor' but the build fails with this error. how to fix it?

Hi,
Hope you found a solution, if not, try to manually delete delete the boost-install folder from Build (and if you see that the problem still persist also delete boost-src) and try again.

Ok so i solved the above problem by moving my contents to a folder with folder-name having no spaces.
But now it says it cant find "CMakeLists.txt"

I copied CMakeLists.txt from parent folder to the  "rpclib_src" folder and it started compiling however it stopped with following message:
D:\Self_driving_Car_setup\CARLA_Project\carla>make launch
-[Setup]: [Batch params]: --boost-toolset msvc-14.1
-[Setup]: Asynchronous jobs:  4
-[Setup]: Boost toolset:      msvc-14.1
-[Setup]: Install directory:  "D:/Self_driving_Car_setup/CARLA_Project/carla/Build/"
-[Setup]: Installing rpclib...
-[install_rpclib]: [Batch params]: --build-dir "D:/Self_driving_Car_setup/CARLA_Project/carla/Build/"
-[install_rpclib]: Not cloning rpclib because already exists a folder called "rpclib-src".
-[install_rpclib]: Generating build...
-- The C compiler identification is MSVC 19.15.26730.0
-- The CXX compiler identification is MSVC 19.15.26730.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:4 (include):
include could not find load file:
Build/CMakeLists.txt.in

CMake Error at CMakeLists.txt:6 (add_subdirectory):
add_subdirectory given source "LibCarla/cmake" which is not an existing
directory.
-- Configuring incomplete, errors occurred!

Hi @adarsh9975
Delete the Build folder and try again. That file should be created automatically by setup.bat (Util\BuildTools).

Thank you @iFuSiiOnzZ I just completed my build process. The build completed successfully how ever when i launch the CarlaUE4.exe i get this:

obviously build was not proper. Build did complete successfully but i had a warning that some parts of unreal engine had to be re-built (which completed automatically successfully),also there were a lot of warnings during the unreal-rebuild. What should i do now ? I am using Unreal engine 4.19.2

I opened the project in unreal editor. Looks like the assets can't be located. However I have downloaded the content and extracted it to " Unreal\CarlaUE4\Content\Carla ". I am using 0.8.4 content for CARLA.
This is the content folder:

Any help will be greatly appreciated.

You need the content for the 0.9.X as master branch is on 0.9.X. In case you need the 0.8.X you will have to checkout it.

Seems like the assets in content folder are arranged differently for 0.8.x and 0.9.x (for example compare Blueprints/Game for both versions). I downloaded the content for 0.9.x and built the code again. Now it runs the environment. Thanks for your help @iFuSiiOnzZ

what are these errors for? and how to fix them?

@mshaheerm that is because you didn't download Carla contents, take a look at Download Carla contents.

@iFuSiiOnzZ  thanks alot. fixed it.

@iFuSiiOnzZ  the problem with the boost-install still exists. in the Build folder there isnt any boost-install folder. only boost-src which i removed and tried again but the problem was still there.

@mshaheerm can you provide more information of what happened during the build, any log or on screen information.

Branch 0.9-win32 is missing.
In Sep, I successed builing Carla following above steps, while recently I failed to repeat the steps, since I could not checktou the 0.9-win32 branch. What should I do now?

@iFuSiiOnzZ Thanks! So I could not blame on this and keep fighting with the linking issues now... 0_0

Hi @iFuSiiOnzZ,  While make launch, the command line report:
D:\Carla\carla\LibCarla\cmake..\source\carla/sensor/CompileTimeTypeMap.h(97): error C2975: “Size”:“carla::sensor::detail::CompileTimeTypeMapImpl”的模板参数无效，应为编译时常量表达式 (编译源文件 D:\Carla\carla\LibCarla\source\carla\sensor\Deserializer.cpp) [D:\Carla\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\carla_server.vcxproj]
The Chinese means "the template parameters are invalid, should be constexpr(compling the source file)"
That happens in 2 files and result in total 4 errors:
D:\Carla\carla\LibCarla\cmake..\source\carla/sensor/CompileTimeTypeMap.h(97)
D:\Carla\carla\LibCarla\cmake..\source\carla/sensor/CompileTimeTypeMap.h(100)
Could you help to figure out what should I do with them?

@SumerHoT
Compilation problems between clang and visual cl. Change size() with sizeof...(Items), we will try to fix it in the future.

@iFuSiiOnzZ Thanks a lot! That works!
But while compling CarlaUE4 in Unreal Engine, it shows CarlaUE4 could not be complied, please try manual complile from source.
The Unreal Engine is 4.19.2, and previous machine works fine.
Any idea about this?

Of course is a compilation problem, open the file and change what i told you in the previous post.

@iFuSiiOnzZ While compling CarleUE4 Unreal Project, two main errors occur:
1: LogCompile : error : Circular dependency detected for filename D:\Carla\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Settings\QualityLevel.h!
2: D:\Carla\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/geom/BoundingBox.h(27): error C2512: “carla::geom::Location” No suitable default constructor available.
In file: D:\Carla\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla\geom\Location.h
I add:	  Location() {};
But I couldn't find out the way to solve Error 1#. Any suggestion?

Hi @SumerHoT
Those 2 errors are quite easy to fix. For the circular dependency you can leave it as it is, it builds any way or change the name of the file to QualityLevelUE.h for instances and all the includes where it appears.
For the C2512 error you will have to modify the Vector3D.h and Location.h, in Vector3D you will have to add the copy constructor and for Location add the constructors:
    Vector3D(const Vector3D &v3d)
      : x(v3d.x),
        y(v3d.y),
        z(v3d.z) {}

    Location() = default;

    Location(const Location &location)
      : Vector3D(location) {}

    Location(float ix, float iy, float iz)
      : Vector3D(ix, iy, iz) {}

Once that you have done that, it will compile the Editor but the game, as it seems that some Unreal functions are overwritten. We are currently working to fix it.

@iFuSiiOnzZ
Thanks, I modified above and then build unreal project manually and works.
Do I still need to make PythonAPI now?
Since there still are errors while make PythonAPI:
1#. Traceback (most recent call last):
File "setup.py", line 101, in
ext_modules=get_libcarla_extensions(),
File "setup.py", line 51, in get_libcarla_extensions
sources += [x for x in walk('dependencies/include/carla', '*.cpp')]
UnboundLocalError: local variable 'walk' referenced before assignment
I move the def walk to above, and then new errors occur:
2#. source/libcarla/libcarla.cpp(7): fatal error C1083: Could not open include file: “carla/Memory.h”: No such file or directory

That is a bit more tricky, for now no one started to port the PythonAPI to Windows. It has some dependencies for png, jpeg and tiff support. So if you want to test the 0.9.X please use linux for now as we are currently busy with the 0.9.1 release. Sorry!

@iFuSiiOnzZ So could you reopen the 0.9-win32 branch for these days?

I am sorry, but unfortunately the branch is deleted. You could try to checkout some old commit and see if it builds, sadly I can not tell you with which one to start as I don't know in what point the Windows build broken.

@iFuSiiOnzZ Nevermind and thanks any way, I could try rebuilding from my archived code :) Hope you guys all good~

3>UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-maste
r\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.3_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
3>UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-maste
r\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.1_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
3>UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-maste
r\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
3>UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-maste
r\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.2_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
3>UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
3>UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
3>UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
3>UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
3>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4-Carla.lib [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\Car
laUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
Total build time: 6.74 seconds (Local executor: 0.00 seconds)
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4
Win64 Development "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command. [C:\Users\car
lo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
3>Done Building Project "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (default targets) -- FAILED.
1>Done Building Project "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.sln" (default targets) -- FAILED.
Build FAILED.
   "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.sln" (default target) (1) ->
   "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (default target) (3) ->
   (Build target) ->
     UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-mas
   ter\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.3_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxpr
   oj]
     UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-mas
   ter\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.1_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxpr
   oj]
     UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-mas
   ter\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     UnrealBuildTool : error : Failed to start local process for action: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\cl.exe  @"C:\Users\carlo\Desktop\carla-master\carla-mas
   ter\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4\Development\Carla\Module.Carla.gen.2_of_3.cpp.obj.response" [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxpr
   oj]
     UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
   ]
     UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
   ]
     UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
   ]
     UnrealBuildTool : error : System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
   ]
     UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4-Carla.lib [C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\C
   arlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaU
   E4 Win64 Development "C:\Users\carlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command. [C:\Users\c
   arlo\Desktop\carla-master\carla-master\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]

“D:\carla\Unreal\CarlaUE4\CarlaUE4.sln”(默认目标) (1) ->
“D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj”(默认目标) (2) ->
(Build 目标) ->
d:\program files (x86)\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2039: “_
InterlockedCompareExchange”: 不是“FWindowsPlatformAtomics”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles
CarlaUE4.vcxproj]
d:\program files (x86)\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2665: “_
InterlockedCompareExchange”: 4 个重载中没有一个可以转换所有参数类型 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.v
cxproj]
d:\program files (x86)\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(78): error C2039: “_
_faststorefence”: 不是“FWindowsPlatformMisc”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxpr
oj]
d:\program files (x86)\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2039:
“_InterlockedIncrement”: 不是“FWindowsPlatformAtomics”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\Car
laUE4.vcxproj]
d:\program files (x86)\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2665:
“_InterlockedIncrement”: 4 个重载中没有一个可以转换所有参数类型 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxp
roj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1689): error C20
39: “GetObjectW”: 不是“TScriptInterface”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFil
es\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1709): error C20
39: “GetObjectW”: 不是“TScriptInterface”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFil
es\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(3
7): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(4
5): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
28): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
37): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1689): error C20
39: “GetObjectW”: 不是“TScriptInterface”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFil
es\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1709): error C20
39: “GetObjectW”: 不是“TScriptInterface”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFil
es\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(3
7): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(4
5): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
28): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
37): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(103): erro
r C2039: “__faststorefence”: 不是“FWindowsPlatformMisc”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\Car
laUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(154): erro
r C2039: “__faststorefence”: 不是“FWindowsPlatformMisc”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\Car
laUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(159): erro
r C2039: “__faststorefence”: 不是“FWindowsPlatformMisc”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\Car
laUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(165): erro
r C2039: “__faststorefence”: 不是“FWindowsPlatformMisc”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\Car
laUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(3
7): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(4
5): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
28): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(1
37): error C2660: “GetObjectW”: 函数不接受 0 个参数 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj
]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\SlateCore\Public\Rendering\DrawElements.h(723)
: error C2039: “_InterlockedIncrement”: 不是“FWindowsPlatformAtomics”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\Pr
ojectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\SlateCore\Public\Rendering\DrawElements.h(723)
: error C2665: “_InterlockedIncrement”: 4 个重载中没有一个可以转换所有参数类型 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles
\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\SlateCore\Public\Rendering\DrawElements.h(724)
: error C2039: “_InterlockedDecrement”: 不是“FWindowsPlatformAtomics”的成员 [D:\carla\Unreal\CarlaUE4\Intermediate\Pr
ojectFiles\CarlaUE4.vcxproj]
D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Source\Runtime\SlateCore\Public\Rendering\DrawElements.h(724)
: error C2665: “_InterlockedDecrement”: 4 个重载中没有一个可以转换所有参数类型 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles
\CarlaUE4.vcxproj]
UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\carla\Unreal\CarlaUE4\Plugins\Carla\Binaries\W
in64\UE4-Carla.lib [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.T
argets(44,5): error MSB3075: 命令“"D:\Program Files (x86)\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" Ca
rlaUE4 Win64 Development "D:\carla\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild”已退出，代码为 5。 请验证您是否拥有
运行此命令的足够权限。 [D:\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]

Hi all, there is a branch called fix_win32_comilation, the windows version should build now.
@nicksunyang @MaxTD

Hi,
i get the following error when I try to run any of the python scritpts (with Carla v0.9.1):
C:\Carla\carla_0.9\carla_fix_win32_Try_2\carla-fix_win32_compilation>python .\PythonAPI\tutorial.py
Traceback (most recent call last):
File ".\PythonAPI\tutorial.py", line 21, in
import carla
ImportError: No module named 'carla'
I rebuild the PythinAPI and LibCarla hoping it would help, but it did't.
Thanks for your help!

For building PythonAPI take a look at the issue #976, once you have built it go to PythonAPI folder and run any of the scripts.

Hi @dieteekanne2.
Did you compiled the python API?
make PythonAPI

@iFuSiiOnzZ
I'm still getting the same errors like @nicksunyang @MaxTD while following the "How to build on Windows". Is there a newer version for download? Or how can I fix this issue?

I have also the same issue when I'm trying to build 0.9.0.

Hi @dieteekanne2.
Did you compiled the python API?
make PythonAPI

Hi @marcgpuig,
yes I did, still nothing changed

Hey @dieteekanne2 @Atlunch
Can you try with the lastest changes in master?

Hey @dieteekanne2 @Atlunch
Can you try with the latest changes in master?

I'm just doing it. Now I get the following error after 'make launch':
-[BuildCarlaUE4]: [Batch params]: --build --ue-version 4.19
-[BuildCarlaUE4]: Builing and starting Carla...
Microsoft (R)-Build-Engine, Version 15.8.169+g1ccb72aefa für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Der Buildvorgang wurde am 29.11.2018 14:43:07 gestartet.
1>Projekt "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.sln" auf Knoten "1" (Standardziel
e).
1>ValidateSolutionConfiguration:
Die Projektmappenkonfiguration "Development|Win64" wird erstellt.
0>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3)
: warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Micro
soft.Makefile.props" kann nicht erneut importiert werden. Es wurde bereits bei "C:\Program Files (x86)\MSBuild\M
icrosoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)" importiert. Es handelt sich aller Wahrscheinlichkeit nach um
einen Buildautorisierungsfehler. Der darauf folgende Import wird ignoriert. [C:\Carla\carla_0.9\Carla_v_0_9_1_Tr
y_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
1>Das Projekt "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.sln" (1) erstellt "C:\Carla\c
arla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (2) auf Knoten "1
" (Standardziele).
2>Build:
"C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4 Win64 Development "C:\Carla\c
arla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild
Performing full C++ include scan (building a new target)
Performing 5 actions (4 in parallel)
Module.Carla.gen.1_of_3.cpp
Module.Carla.gen.2_of_3.cpp
Module.Carla.cpp
2>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2039: "_Interloc
kedCompareExchange": Ist kein Element von "FWindowsPlatformAtomics" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carl
a\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Windows/WindowsPlatformAtomics.h(14): no
te: Siehe Deklaration von "FWindowsPlatformAtomics"
2>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2665: "_Interloc
kedCompareExchange": Durch keine der 4 Überladungen konnten alle Argumenttypen konvertiert werden. [C:\Carla\car
la_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(9010): note: kann "unsigned __int64 _InterlockedC
ompareExchange(volatile unsigned __int64 *,unsigned __int64,unsigned __int64)" sein
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8997): note: oder "unsigned long _InterlockedComp
areExchange(volatile unsigned long *,unsigned long,unsigned long)"
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8986): note: oder "unsigned int _InterlockedCompa
reExchange(volatile unsigned int *,unsigned int,unsigned int)"
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\intrin.h(179): note: oder "long _InterlockedCom
pareExchange(volatile long *,long,long)"
c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): note: bei Anpassung d
er Argumentliste "(int32 *, int, int)"
2>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(78): error C2039: "__faststo
refence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\Carla
UE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Windows/WindowsPlatformMisc.h(41): note:
Siehe Deklaration von "FWindowsPlatformMisc"
2>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2039: "_Inter
lockedIncrement": Ist kein Element von "FWindowsPlatformAtomics" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\U
nreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Windows/WindowsPlatformAtomics.h(14): no
te: Siehe Deklaration von "FWindowsPlatformAtomics"
2>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2665: "Inter
lockedIncrement": Durch keine der 4 Überladungen konnten alle Argumenttypen konvertiert werden.  Stellen Sie sicher, dass Sie zur Ausführung dieses Befehls berechtigt sind. [C:\Carla\carla_0.9\C
arla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
2>Die Erstellung des Projekts "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFi
les\CarlaUE4.vcxproj" ist abgeschlossen (Standardziele) -- FEHLER.
1>Die Erstellung des Projekts "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.sln" ist abge
schlossen (Standardziele) -- FEHLER.
Fehler beim Buildvorgang.
     C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,
   3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Mic
   rosoft.Makefile.props" kann nicht erneut importiert werden. Es wurde bereits bei "C:\Program Files (x86)\MSBuild
   \Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)" importiert. Es handelt sich aller Wahrscheinlichkeit nach u
   m einen Buildautorisierungsfehler. Der darauf folgende Import wird ignoriert. [C:\Carla\carla_0.9\Carla_v_0_9_1_
   Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]

   "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.sln" (Standardziel) (1) ->
   "C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (Stand
   ardziel) (2) ->
   (Build Ziel) ->
     c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2039: "_Interl
   ockedCompareExchange": Ist kein Element von "FWindowsPlatformAtomics" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\ca
   rla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(59): error C2665: "_Interl
   ockedCompareExchange": Durch keine der 4 Überladungen konnten alle Argumenttypen konvertiert werden. [C:\Carla\c
   arla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(78): error C2039: "__fasts
   torefence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\Car
   laUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2039: "_Int
   erlockedIncrement": Ist kein Element von "FWindowsPlatformAtomics" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla
   \Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHICommandList.h(282): error C2665: "_Int
   erlockedIncrement": Durch keine der 4 Überladungen konnten alle Argumenttypen konvertiert werden. [C:\Carla\carl
   a_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1689): error C2039: "G
   etObjectW": Ist kein Element von "TScriptInterface<IBlendableInterface>" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3
   \carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1709): error C2039: "G
   etObjectW": Ist kein Element von "TScriptInterface<IBlendableInterface>" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3
   \carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFu
   nctionLibrary.cpp(332): error C2440: "Initialisierung": "initializer list" kann nicht in "FActorAttribute" konve
   rtiert werden [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.v
   cxproj]
     C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFu
   nctionLibrary.cpp(332): error C2672: "TArray<FActorAttribute,FDefaultAllocator>::Emplace": keine übereinstimmend
   e überladene Funktion gefunden [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\Projec
   tFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(37): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(45): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(128): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(137): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1689): error C2039: "G
   etObjectW": Ist kein Element von "TScriptInterface<IBlendableInterface>" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3
   \carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/Scene.h(1709): error C2039: "G
   etObjectW": Ist kein Element von "TScriptInterface<IBlendableInterface>" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3
   \carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(37): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(45): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(128): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(137): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(103): error C203
   9: "__faststorefence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla
   \Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(154): error C203
   9: "__faststorefence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla
   \Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(159): error C203
   9: "__faststorefence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla
   \Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Async/AsyncFileHandle.h(165): error C203
   9: "__faststorefence": Ist kein Element von "FWindowsPlatformMisc" [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla
   \Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(37): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(45): er
   ror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unr
   eal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(128): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectIterator.h(137): e
   rror C2660: "GetObjectW": Funktion akzeptiert keine 0 Argumente [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Un
   real\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Sensor\ShaderBasedSens
   or.cpp(17): error C2664: "void AShaderBasedSensor::AddShader(const FSensorShader &)" : Konvertierung von Argumen
   t 1 von "initializer list" in "const FSensorShader &" nicht möglich [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carl
   a\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unre
   al\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4-Carla.lib [C:\Carla\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\Carl
   aUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: Der Be
   fehl ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4 Win64 Development "C:\Car
   la\carla_0.9\Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" wurde mit dem
    Code 5 beendet. Stellen Sie sicher, dass Sie zur Ausführung dieses Befehls berechtigt sind. [C:\Carla\carla_0.9
   \Carla_v_0_9_1_Try_3\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]

1 Warnung(en)
30 Fehler

Verstrichene Zeit 00:00:20.47
-[BuildCarlaUE4]: [ERROR] There was a problem building Carla.
[ERROR] Please read the screen log for more information.
make: *** [launch] Fehler 1

Looks like i receive the same error message. help needed. Current Master branch, carla version 0.9.1
Build started 18.12.2018 14:48:08.
1>Project "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.sln" on node 1 (default targets).
1>ValidateSolutionConfiguration:
Building solution configuration "Development Editor|Win64".
0>C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)
Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program
Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored
. [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
1>Project "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.sln" (1) is building "D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj"
(2) on node 1 (default targets).
2>Build:
"C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" CarlaUE4Editor Win64 Development "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.upr
oject" -WaitMutex -FromMsBuild
Performing full C++ include scan (building a new target)
Performing 4 actions (4 in parallel)
Module.Carla.cpp
2>D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(361): error C2440: 'initializing': cannot convert fro
m 'initializer list' to 'FActorAttribute' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(361): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
2>D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(361): error C2672: 'TArray<FActorAttribute,FDefaultAl
locator>::Emplace': no matching overloaded function found [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
2>D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(366): error C2440: 'initializing': cannot convert fro
m 'initializer list' to 'FActorAttribute' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(366): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
2>D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(366): error C2672: 'TArray<FActorAttribute,FDefaultAl
locator>::Emplace': no matching overloaded function found [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
2>D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Sensor\ShaderBasedSensor.cpp(17): error C2664: 'void AShaderBasedSensor::AddShader(const FSen
sorShader &)': cannot convert argument 1 from 'initializer list' to 'const FSensorShader &' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\C
arlaUE4.vcxproj]
D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Sensor\ShaderBasedSensor.cpp(17): note: Reason: cannot convert from 'initializer list' to '
const FSensorShader'
D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Sensor\ShaderBasedSensor.cpp(17): note: No constructor could take the source type, or const
ructor overload resolution was ambiguous
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\Developmen
t\UE4Editor-Carla.lib [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
Total build time: 16,37 seconds (Local executor: 0,00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\En
gine\Build\BatchFiles\Build.bat" CarlaUE4Editor Win64 Development "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited wi
th code 5. Please verify that you have sufficient rights to run this command. [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxpro
j]
2>Done Building Project "D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (default targets) -- FAILED.
1>Done Building Project "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.sln" (default targets) -- FAILED.
Build FAILED.
     C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86
   )\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Progra
   m Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignor
   ed. [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]

   "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.sln" (default target) (1) ->
   "D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj" (default target) (2) ->
   (Build target) ->
     D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(361): error C2440: 'initializing': cannot convert f
   rom 'initializer list' to 'FActorAttribute' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(361): error C2672: 'TArray<FActorAttribute,FDefault
   Allocator>::Emplace': no matching overloaded function found [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(366): error C2440: 'initializing': cannot convert f
   rom 'initializer list' to 'FActorAttribute' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Actor\ActorBlueprintFunctionLibrary.cpp(366): error C2672: 'TArray<FActorAttribute,FDefault
   Allocator>::Emplace': no matching overloaded function found [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Sensor\ShaderBasedSensor.cpp(17): error C2664: 'void AShaderBasedSensor::AddShader(const FS
   ensorShader &)': cannot convert argument 1 from 'initializer list' to 'const FSensorShader &' [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles
   \CarlaUE4.vcxproj]
     UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\kru7si\carla_exp\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\Developm
   ent\UE4Editor-Carla.lib [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxproj]
     C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\
   Engine\Build\BatchFiles\Build.bat" CarlaUE4Editor Win64 Development "D:\kru7si\carla_exp\Unreal\CarlaUE4\CarlaUE4.uproject" -WaitMutex -FromMsBuild" exited
   with code 5. Please verify that you have sufficient rights to run this command. [D:\kru7si\carla_exp\Unreal\CarlaUE4\Intermediate\ProjectFiles\CarlaUE4.vcxp
   roj

Hi guys. I have a problem with compiling Carla. The setup I'm using: Windows10, Visual Studio 2017, Unreal Engine 4.21.2, Carla 0.9.3. I have make, cmake, python, Win SDK8.1 installed. It looks boost is compiling, but then I got popup that CarlaUE4 needs to be rebuilt,
I click yes, and then I got C4577 errors

Any idea how to solve it?

Same issue as for @grzjab, while using the same environment.
Any idea, please?

I'm currently redoing the Windows setup for Carla 0.9.x in marcgpuig/windows_build and looks like I got a first good version of it.
Feel free to try it and I'll help you as much as I can so we can achieve a solid Windows installer.

I'm getting error C2784/C2782. This is probably due to a conflict between boost libraries. I currently have the 1.67 installed, whereas it seems CARLA 0.9.2 requires 1.68. Can I rebuild boost library from Carla?

marcgpuig, Many thanks for devoting the time to this issue. Small issue in boost-install : BOOST_REPO=https://dl.bintray.com/boostorg/release/%BOOST_VERSION%/source/%BOOST_TEMP_FILE%
I do not have the credentials(Win7) to access the site with https. http works.

@eds89 we are using 1.69, delete carla/Build and try again (this can take a while).

@f5maki thanks to you for the effort on solving this by yourself and making the report here, I'll add a flag in the future to change that, but by default, I prefer to use https because reasons :)
And probably another flag to use the clone on github (that also seems to download faster than download and unzip)

I'm currently redoing the Windows setup for Carla 0.9.x in marcgpuig/windows_build and looks like I got a first good version of it. It compiles PythonAPI now.
Feel free to try it and I'll help you as much as I can so we can achieve a solid Windows installer.

Can I only checkout your new Util folder to the 0.9.2 branch which I'm currently using? So that I won't have to update the associated Content version.
Do I have to use boost 1.67 instead of 1.69 with 0.9.2?

Hi guys. I have a problem with compiling Carla. The setup I'm using: Windows10, Visual Studio 2017, Unreal Engine 4.21.2, Carla 0.9.3. I have make, cmake, python, Win SDK8.1 installed. It looks boost is compiling, but then I got popup that CarlaUE4 needs to be rebuilt,
I click yes, and then I got C4577 errors

Any idea how to solve it?

same issue here. any updates yet?

Hi @zoeeer

Can I only checkout your new Util folder to the 0.9.2 branch which I'm currently using?

No sorry, I've made changes on code. But you can actually merge my branch into yours, and resolve the conflicts (if any).

Do I have to use boost 1.67 instead of 1.69 with 0.9.2?

Yes, I recommend you to delete your Build folder and then make setup to automatically download the last boost version. Then make launch to open the Unreal Editor as usual.

Hi @simach
Can you provide more information? Are you using my branch marcgpuig/windows_build?

@marcgpuig thanks for your help, using your branch helped!

@marcpuig - A question.
Your branch does not build the .sln, project or development configuration. Do you recommend a way of doing this? I used the generate_vs solution section of the old BuildCarlaUE4.bat.
An observation - Manual_control.py does not start because of a carla import error. It cannot find the zlib dll. Move the dll or put the directory on PATH?

Hi @marcgpuig ,
Thanks to the discussions and efforts by many of you guys, I have everything built and running now. I haven't tried your branch yet because I prefer to try to build things on 0.9.2 without making too many changes.
Two more tips:

I think Python 3.5 on Windows has some issues. I replaced it with Python 3.6 and now I can build PythonAPI. (I experieced issues with 3.5 in other Python projects too)
I'm using the 0.9.2 tagged version and I think goes with boost 1.67. Boost 1.69 is not compatible when making PythonAPI.

Hi @marcgpuig ,
I can confirm, that I was able to build carla - UE4 with your modified branch (https://github.com/carla-simulator/carla/pull/1241) instead of relese 9.3. Thanks for that!
(Windows 10, x64, Visual Studio 2017, UE 4.21, Python 3.7.0)
Unfortunatelly Iam not able to compile PythonAPI. I have python 3.7 and I fail on boost linking. Do you have some hint, what I can try?
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:dependencies/lib /LIBPATH:C:\Programs\Python\Python37\libs /LIBPATH:C:\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /EXPORT:PyInit_libcarla build\temp.win-amd64-3.7\Release\source/libcarla/libcarla.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\Buffer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\Exception.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\FileSystem.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\StringUtil.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\Actor.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\ActorAttribute.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\ActorBlueprint.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\ActorList.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\BlueprintLibrary.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\DebugHelper.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\GnssSensor.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\LaneDetector.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\Map.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\ServerSideSensor.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\TrafficLight.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\Vehicle.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\Walker.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\Waypoint.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\World.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\ActorFactory.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\ActorState.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\ActorVariant.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\Client.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\Episode.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\EpisodeProxy.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\EpisodeState.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\client\detail\Simulator.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\geom\Math.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\OpenDrive.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\GeometryParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\JunctionParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\LaneParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\ProfilesParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\RoadLinkParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\TrafficSignalsParser.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\opendrive\parser\pugixml\pugixml.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\pointcloud\PointCloudIO.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\profiler\LifetimeProfiled.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\profiler\Profiler.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\Map.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\MapBuilder.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\WaypointGenerator.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\element\LaneCrossingCalculator.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\element\Waypoint.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\element\cephes\fresnl.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\road\element\cephes\polevl.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\rpc\WeatherParameters.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\Deserializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\CollisionEventSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\EpisodeStateSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\ImageSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\LidarSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\ObstacleDetectionEventSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\sensor\s11n\SensorHeaderSerializer.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\Dispatcher.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\StreamStateBase.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\Token.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\tcp\Client.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\tcp\Server.obj build\temp.win-amd64-3.7\Release\dependencies/include/carla\streaming\detail\tcp\ServerSession.obj /OUT:build\lib.win-amd64-3.7\carla\libcarla.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\source/libcarla\libcarla.cp37-win_amd64.lib shlwapi.lib C:\WorkingDir\toyota\carla\src_carla_0.9.3\PythonAPI\dependencies/lib\carla_client.lib C:\WorkingDir\toyota\carla\src_carla_0.9.3\PythonAPI\dependencies/lib\libboost_filesystem-vc141-mt-x64-1_69.lib C:\WorkingDir\toyota\carla\src_carla_0.9.3\PythonAPI\dependencies/lib\libpng.lib C:\WorkingDir\toyota\carla\src_carla_0.9.3\PythonAPI\dependencies/lib\rpc.lib C:\WorkingDir\toyota\carla\src_carla_0.9.3\PythonAPI\dependencies/lib\zlib.lib    Creating library build\temp.win-amd64-3.7\Release\source/libcarla\libcarla.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\source/libcarla\libcarla.cp37-win_amd64.exp libcarla.obj : error LNK2001: unresolved external symbol "void __cdecl boost::python::throw_error_already_set(void)" (?throw_error_already_set@python@boost@@YAXXZ)
followed by 70ty similar lines.
build\lib.win-amd64-3.7\carla\libcarla.cp37-win_amd64.pyd : fatal error LNK1120: 70 unresolved externals
I found, that there is maybe some issue with boost static/dynamic linking. But it seems, that it is correctly set-up...

@f5maki you can build the .sln with right clicking the carla\unreal\CarlaUE4\CarlaUE4.uproject file and select generate project for Visual studio (or something like that, I'm on Linux now). Also, thanks for confirming that the dll problem is a the zlib issue, this was helpful. Next time I'll retake the Win build, I'll focus on statically linking zlib so no dll will be needed anymore.

@davidSedlacek Just in case, are you using a x64 version of Python?

@marcgpuig Thanks for quick response. Yes, I do. I verified it now. :(

@marcgpuig btw. In the prebuild 9.3 version for Windows the python API doesn't work. Thanks to @f5maki , when I put zlib.dll next to python scripts (for example spawn_vehicle.py) it all start to work. Unfortunatelly, the zlib.dll is not packed in release. I know, it is related to prev. post. I just want to confirm, that it works in release also.

@davidSedlacek Thanks for the confirmation.
I'll update the release package with a fresh zlib.dll on it when I have time.

Using the newest master branch to build carla on win10, I didn't see any output exe files. Although I have successfully built the PythonAPI, I got the problem when I try to import carla.
In [1]: import carla
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-4913ac8c036f> in <module>
----> 1 import carla

c:\users\whzon\appdata\local\programs\python\python37\lib\site-packages\carla-0.9.3-py3.7-win-amd64.egg\carla\__init__.py in <module>
      5 # For a copy, see <https://opensource.org/licenses/MIT>.
      6
----> 7 from .libcarla import *

ImportError: DLL load failed: The specified module could not be found.

Anyone can help?

Anyone with such source code error?
Command: make package
Error: CarlaWheeledVehicle.cpp(221): error C4018: '<': signed/unsigned mismatch
Versions
Carla 0.9.3, branch master (fa9ad0028ddd5f28ca6302cb5c352a12d46236ea)
VS 2017
Unreal Engine 4.21 (added key via regedit, added to path, added UE4_ROOT)
Log output
-[BuildPythonAPI]: Carla lib for python has been successfully installed in "D:/carla/PythonAPI\dist"!
-[Package]: [Batch params]: --ue-version 4.21
Building 4 actions with 4 processes...
  [1/4] Module.Carla.cpp
  D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Vehicle\CarlaWheeledVehicle.cpp(221): error C4018: '<': signed/unsigned mismatch
UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\carla\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\Development\Carla\UE4Editor-Carla.lib
                        (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 42.46 seconds (Parallel executor: 0.00 seconds)

-[Package]: [ERROR] There was a problem while building the CarlaUE4Editor.
          [ERROR] Please read the screen log for more information.
make: *** [package] Error 1

More readable screenshot

make launch works fine, but fails at the very last step
Command: make launch
No errors, compiles correctly Launching UE4 Editor...

Clicking Yes

Some progress...

And then it fails...

Should be fixed now, just removing a character :man_facepalming:
@micmarty Thanks for reporting!

@micmarty I've got the exact same problem. UnrealBuildTool opens, starts compiling and I get the same error message

Update:
I checked out an earlier commit, before the commands were introduced: fd4d8959f5bdc99d01bd6fc9f626cb299e5b065f
'Change more rpc bindings to accept rpc::ActorId instead of rpc::Actor'
Versions
Python 3.6
Unreal Engine 4.21
Windows 10 64 bit
VS 2017
Error Message:
  Module.Carla.gen.2_of_4.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class UScriptStruct * __cdecl Z_Construct_UScriptStruct_FAssetData(void)" (__imp_?Z_Construct_UScriptStruct_FAssetData@@YAPEAVUScriptStruct@@XZ) referenced in function "void __cdecl `dynamic initializer for 'public: static struct UE4CodeGen_Private::FStructPropertyParams const Z_Construct_UClass_UMapProcessCommandlet_Statics::NewProp_AssetDatas_Inner''(void)" (??__E?NewProp_AssetDatas_Inner@Z_Construct_UClass_UMapProcessCommandlet_Statics@@2UFStructPropertyParams@UE4CodeGen_Private@@B@@YAXXZ)
  D:\kru7si\carla_sync\Unreal\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4Editor-Carla.dll : fatal error LNK1120: 1 unresolved externals
  [19/19] UE4Editor-CarlaUE4.dll
     Creating library D:\kru7si\carla_sync\Unreal\CarlaUE4\Intermediate\Build\Win64\UE4Editor\Development\CarlaUE4\UE4Editor-CarlaUE4.suppressed.lib and object D:\kru7si\carla_sync\Unreal\CarlaUE4\Intermediate\Build\Win64\UE4Editor\Development\CarlaUE4\UE4Editor-CarlaUE4.suppressed.exp
UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\kru7si\carla_sync\Unreal\CarlaUE4\Plugins\Carla\Binaries\Win64\UE4Editor-Carla.dll
                        (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)

@Sakrust I can confirm that happens! just fixed it, master should be compile in Windows again.

Hello, I have been trying to run the carla on my windows pc, but the precompiled version seems to give somedependency issue:
File "C:\work\Simulation\CARLA\tutorial.py", line 21, in
import carla
File "C:\work\Simulation\CARLA\PythonAPI\carla-0.9.4-py3.7-win-amd64.egg\carla_init_.py", line 7, in
File "C:\work\Simulation\CARLA\PythonAPI\carla-0.9.4-py3.7-win-amd64.egg\carla\libcarla.py", line 7, in
File "C:\work\Simulation\CARLA\PythonAPI\carla-0.9.4-py3.7-win-amd64.egg\carla\libcarla.py", line 6, in bootstrap
File "C:\Users\Valentin\AppData\Local\Programs\Python\Python37-32\Lib\imp.py", line 342, in load_dynamic
return _load(spec)
builtins.ImportError: DLL load failed: %1 is not a valid Win32 application.
The compilation also fails due to something not set up properly:
-[Setup]: Boost toolset:      msvc-14.1
-[Setup]: Install directory:  "C:\work\SimulationSrc\carla-0.9.4\Build"
-[Setup]: Creating "C:\work\SimulationSrc\carla-0.9.4\Build" folder...
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "C:\work\SimulationSrc\carla-0.
9.4\Build"
-[install_zlib]: Retrieving zlib.
-[install_zlib]: Extracting zlib from "zlib-1.2.11.zip".
Expand-Archive : The term 'Expand-Archive' is not recognized as the name of a c
mdlet, function, script file, or operable program. Check the spelling of the na
me, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

Expand-Archive 'C:\work\SimulationSrc\carla-0.9.4\Build\zlib-1.2.11.zip' -Des
tin ...

  + CategoryInfo          : ObjectNotFound: (Expand-Archive:String) [], Comm
 andNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

  -[install_zlib]: Removing "zlib-1.2.11.zip"

The system cannot find the file specified.
-[install_zlib]: Creating "C:\work\SimulationSrc\carla-0.9.4\Build\zlib-sour
ce\build"
CMake Error: The source directory "C:/work/SimulationSrc/carla-0.9.4/Build/zlib-
source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-[install_zlib]: [CMAKE ERROR] An error ocurred while executing cmake comman

d.
-[install_zlib]: [CMAKE ERROR] Possible causes:
-[install_zlib]:                - Make sure "CMake" is installed.
-[install_zlib]:                - Make sure it is available on your Windows
"path".
-[install_zlib]:                - Make sure you have cmake 3.12.4 or higher
installed.
-[install_zlib]: Exiting with error...
I am pretty sure I have some dependency or include not set up correctly, but not sure about it. I am using Windows 8, Python 3.7, VS 2017 and latest Unreal version. Can anybody tell me what am I doing wrong?

@Nightingale - looks like you are missing a dll for the first issue. In the past it has been zlib.dll. Locate it, either add the directory to PATH or move it.
@Anybody - Observation - pulled master 0932 GMT 13/03/19. There is a mismatch in libraries between RTTI settings. As a work around I added

"%CMAKE_CONFIG_FILE%" echo   add_definitions(-DBOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY) to Setup.bat.
This is probably sub-ideal but it gets me further along.

@f5maki Hi, I don't fully understand how to do it, can you be more specific? I add the line
add_definitions(-DBOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY)
to literally all the CMake file I can find, yet no luck. I think I've misunderstood sth.
Thankyou

@osjacky430 Add at line 207 of carla\Util\BuildTools\Setup.bat

"%CMAKE_CONFIG_FILE%" echo add_definitions(-DBOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY)

This is a work around only.

I'm still having issues, and quite similar to @Nightingale7, @f5maki workaround does not solve the problem, sadly.
I am using Windows 8, Python 3.7, VS 2017 and latest Unreal version, too.
D:\carla>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
D:\carla>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26730 for x64 Copyright (C) Microsoft Corporation.

Source B.uild problem @ the build LibCarla step:
Versions
Python 3.6
Unreal Engine 4.21
Windows 10 64 bit
VS 2017
Carla version 0.9.4
LibCarla build writes that the client is successfully built:

But the dependencies folder is not generated.
When fetching for an error, the following is found:

@nsubiron: Any idea how to solve this?
Thanks in advance

Hello, I tried building Carla for the first time via the make launch feature and encountered this issue. I'm not sure what the problem is or how to fix it. Any help is appreciated!

I guess the space char in your directory is to blame for that.

I got the following errors when I tried to make PythonAPI. Anyone knows how to solve this? Except make PythonAPI, everything else (make setup, make launch, make package) seems to work just fine.

Indeed, I get the very same error for 'make PythonAPI' on Windows.

Hey guys, getting a very unusual error An error ocurred while executing "bootstrap.bat"
this is after i run make launch - the process begins to extract the file boost_1_69_0 but somewhere inbetween it hits the above error.
how can i remedy this? thank you
windows 10 64 bit
VS 2017
    -[install_boost]: Removing "boost_1_69_0.zip"
The system cannot find the file specified.
The system cannot find the path specified.
    -[install_boost]: Generating build...
'bootstrap.bat' is not recognized as an internal or external command,
operable program or batch file.

    -[install_boost]: [BOOTSTRAP ERROR] An error ocurred while executing "bootstrap.bat".
    -[install_boost]: Exiting with error...

I am now running into this issue. I saw a similar post above, but I am not quite sure how to resolve it. Does anyone have suggestions?

Whenever I try to build it this error pops out:
/bin/sh: /cygdrive/c/Users/Usuario/Desktop/Codes/Python/Tema 4/Tema_4/carla/Util/BuildTools/Setup.bat: Permission denied
make: *** [Util/BuildTools/Windows.mk:57: setup] Error 126
Do I have to change the read/write permissions of my archive?

@Guuuuuum , also got the same. Any progress on fix?

Error C4822 'carla::MoveHandler::MoveWrapper::MoveWrapper': local class member function does not have a body CarlaUE4	C:\Users\asdf\Documents\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla\MoveHandler.h	25
Error C4822 'carla::MoveHandler::MoveWrapper::operator =': local class member function does not have a body CarlaUE4	C:\Users\asdf\Documents\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla\MoveHandler.h	26
Error UBT ERROR: Failed to produce item: C:\Users\asdf\Documents\carla\Unreal\CarlaUE4\Plugins\Carla\Intermediate\Build\Win64\UE4Editor\Development\Carla\UE4Editor-Carla.lib	CarlaUE4	C:\Users\asdf\Documents\carla\Unreal\CarlaUE4\Intermediate\ProjectFiles\UnrealBuildTool	1

@vishal-prgmr
about this,

nsubiron
@Guuuuuum Yes, replace LibCarla/source/carla/MoveHandler.h with this, I'm fixing it on 4.22 branch, >hopefully it will be merged this week
https://cdn.discordapp.com/attachments/445494135990779915/575260339407552512/MoveHandler.h

@Guuuuuum , did you manage to build the PythonAPI ?

Running make PythonAPI throws an error while building Waypoint.cpp.Attaching a screenshot of the error.

@RoadToML , did you fix your issue?

@vishal-prgmr  yes but then i got so many more issues, i gave up and installed on Ubuntu

Hey guys, getting a very unusual error An error ocurred while executing "bootstrap.bat"
this is after i run make launch - the process begins to extract the file boost_1_69_0 but somewhere inbetween it hits the above error.
how can i remedy this? thank you
windows 10 64 bit
VS 2017
    -[install_boost]: Removing "boost_1_69_0.zip"
The system cannot find the file specified.
The system cannot find the path specified.
    -[install_boost]: Generating build...
'bootstrap.bat' is not recognized as an internal or external command,
operable program or batch file.

    -[install_boost]: [BOOTSTRAP ERROR] An error ocurred while executing "bootstrap.bat".
    -[install_boost]: Exiting with error...

@RoadToML, I'm also getting same error. Any updates on this.

LINK : fatal error LNK1201: 写入程序数据库“H:\19?????\carla-master\Build\zlib-source\build\CMakeFiles\CMakeTmp\cmTC_71fd9.pdb”时出错；请检查是否是磁盘空间不足、路径无效或权限不够
NMAKE : fatal error U1077: “"C:\Program Files\CMake\bin\cmake.exe"”: 返回代码“0xffffffff”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe"”: 返回代码“0x2”

how can I solve this problem, thanks  for everyone

@Nightingale7 @osjacky430 if you still haven't fixed the Expand-archive problem:
Pick a compatible install from the link below [probably Win8.1AndW2K12R2-KB3191564-x64.msu]:
https://www.microsoft.com/en-us/download/details.aspx?id=54616
Old PowerShell versions (<5.0) do not support Expand-archive.

Hi,
It seems that the windows build for the 0.9.6 is broken.
We are trying to fix this asap.
There is an issue about that here:
https://github.com/carla-simulator/carla/issues/1894

Hi. This solution fixed the carla UE4 build, but afterwards I got a long list of unresolved symbols while building PythonAPI. Is it connected in any way?

I am now running into this issue. I saw a similar post above, but I am not quite sure how to resolve it. Does anyone have suggestions?

I have the same problem, did you manage to solve it?

@vishal-prgmr yes but then i got so many more issues, i gave up and installed on Ubuntu

I did the same thing but on virtual machine. The size was over 60gb and when I finally started the unreal engine editor it failed because it is too advanced to run on virtual machine. Graphics drivers are not good enough. 👎

I am trying to buold Carla 0.9.6 latest master branch as of today with unreal 4.22.3.
I am doing a make launch and I get as far as it opening Unreal Editor.  It asks to rebuild CarlaUE4 and Carla.  But from what I can tell I am getting errors about Frame: undeclared identifier and unicode, just all kinds of errors.  I can't see to get past this point.

#2098
hope to be useful

I think something is missing from the instructions. I successfully ran "make launch" and got the UE4 window showing the world.
but I cannot import the client into Python.
How do I install the compiled carla client into my python installation?

 Otherwise the import carla will fail.

make PythonAPI
That didn't seem to be enough.
I did install the client by running "python setup.py install" from here:
C:\Projects\carla\PythonAPI\carla

Still I'm missing something. I don't have the CarlaUE4.exe file.
Is that replaced by the Unreal Engine launched by "make launch"?

I think something is missing from the documentation (https://carla.readthedocs.io/en/latest/how_to_build_on_windows/)
CarlaUE4 was not created. I guess you have to run "make package" and this is not mentioned. (it also doesn't run for me yet, I'll keep working on it)

I was able to run the simulation / server by hitting "Play" within Unreal Engine and then the client works,  I can connect, etc...

I'm not sure which one of the troubles you are having, but I can tell you this:

The "ended successfully" message in the build script is sequential and sometimes shows when it actually didn't work. The first time I installed Carla, I accidentally stopped the make process during the download / making of the dependencies. Took me quite a while to realize that I have to delete the dependencies folder content and run it again.
As a side-note, in the CarlaUE4 solution / Plugins / Carla / Source / Carla / Carla.cpp you need to add the following line for it to build successfully:
#undef DrawText
Maybe this should be entered in the instructions.
I had some PythonAPI troubles as well, even though it built and everything. If you ran make PythonAPI and it finished successfully and you still can't import carla inside python, go to  / PythonAPI / carla  and you should have another folder called dist.
inside it you will have the egg file. open a cmd window and type:
easy_install
This should let your python know it exists (worked for me).

Thanks for the help. It's getting harder to know what went wrong but actually now things are moving forward.
Just a note regarding the "InstalledDirectory" parameter in the registry.
On my machine it wasn't set and I followed the instructions here and set it by mistake to:
C:\Program Files (x86)\Epic Games
While it was supposed to be set to :
C:\Program Files\Epic Games\UE_4.22
It's confusing because both locations contain the launcher and other things.
It was fixed for me by the launcher when I used it to verify my engine and then uninstall the source and reinstall it. After that this parameter was set correctly. I guess the original installation of the engine failed somehow.

I managed to run "make package" almost to the end.
The only thing that failed is creating the archive with the following out-of-memory message:
"-[Package]: Building package..."
Exception calling "Write" with "3" argument(s): "Exception of type 'System.OutOfMemoryException' was thrown."
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:820
char:29
+ ...                     $destStream.Write($buffer, 0, $numberOfBytesRead)
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : OutOfMemoryException

I have everything compiled, server and all so I don't mind.
Looking online there seems to be a possibility to build the archive in multiple passes which might solve the issue but I don't have the technical know-how to implement such a change.
See here:
https://stackoverflow.com/questions/43616028/outofmemoryexception-when-using-compress-archive-with-60gb-of-files

Hi guys,
I've also encountered some troubles when trying to compile carla on Windows. Especifically, when I try to do make launch (or any other kind of make call) I get the following error:
make: *** [launch] Error 2
Has someone else faced this problem? Any tips on how to solve it?
Thank you very much!

Hi guys,
This is my first time to build CARLA on windows and I have a problem when making launch
C:\CARLAR\carla>make launch
-[Setup]: [Batch params]: --boost-toolset msvc-14.1
-[Setup]: Asynchronous jobs:  4
-[Setup]: Boost toolset:      msvc-14.1
-[Setup]: Install directory:  "C:\CARLAR\carla\Build"
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "C:\CARLAR\carla\Build"
-[install_zlib]: Not downloading zlib because already exists the folder "C:
CARLAR\carla\Build\zlib-source".
CMake Error at CMakeLists.txt:4 (include):
include could not find load file:
Build/CMakeLists.txt.in
CMake Error at CMakeLists.txt:6 (add_subdirectory):
add_subdirectory given source "LibCarla/cmake" which is not an existing
directory.
... ...
Does anyone know how to deal with it?
Thank you very much!