Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rule to make target 'CarlaUE4Editor'. Stop #5196

Closed
Alphabaijinde opened this issue Feb 23, 2022 · 5 comments
Closed

No rule to make target 'CarlaUE4Editor'. Stop #5196

Alphabaijinde opened this issue Feb 23, 2022 · 5 comments
Labels
stale Issue has not had recent activity

Comments

@Alphabaijinde
Copy link

Env Info:
ubuntu 18.04
carla 0.9.13
UE4.18

Compile Info:

Setting up Unreal Engine 4 project files...

  • xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:quiet /nologo /p:TargetFrameworkVersion=v4.5 /p:Configuration=Development
  • mono Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=/home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/CarlaUE4.uproject -game -engine -makefiles
    Discovering modules, targets and source code for project...
    While compiling /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Intermediate/Build/BuildRules/CarlaUE4ModuleRules.dll:
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(36,9) : error CS0103: The name PublicDefinitions' does not exist in the current context ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(37,9) : error CS0103: The name PrivateDefinitions' does not exist in the current context
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(43,9) : error CS0103: The name PublicDefinitions' does not exist in the current context ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(44,9) : error CS0103: The name PrivateDefinitions' does not exist in the current context
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(135,25) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(135,29) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(142,25) : error CS1502: The best overloaded method match for UnrealBuildTool.ModuleRules.RuntimeDependencyList.Add(string, UnrealBuildTool.StagedFileType)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(142,42) : error CS1503: Argument Intersections are not deterministic #2' cannot convert string' expression to type UnrealBuildTool.StagedFileType'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(208,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(208,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(209,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(209,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(210,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(210,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(211,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(211,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(212,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(212,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(213,29) : error CS1502: The best overloaded method match for System.Collections.Generic.List<UnrealBuildTool.ModuleRules.RuntimeDependency>.Add(UnrealBuildTool.ModuleRules.RuntimeDependency)' has some invalid arguments ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(213,38) : error CS1503: Argument Random crashes when running multiple server instances in parallel #1' cannot convert string' expression to type UnrealBuildTool.ModuleRules.RuntimeDependency'
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(229,5) : error CS0103: The name PublicDefinitions' does not exist in the current context ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(230,5) : error CS0103: The name PublicDefinitions' does not exist in the current context
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(231,5) : error CS0103: The name PublicDefinitions' does not exist in the current context ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(232,5) : error CS0103: The name PublicDefinitions' does not exist in the current context
    ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(233,5) : error CS0103: The name PublicDefinitions' does not exist in the current context ERROR: /home/baijinde/study/3rdparty/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Carla.Build.cs(234,5) : error CS0103: The name PublicDefinitions' does not exist in the current context
    ERROR: UnrealBuildTool Exception: Unable to compile source files.
@rayneong
Copy link

rayneong commented Mar 7, 2022

I had a similar error b/c I was accidentally building on an older UE (probably 4.18). If you're trying to build CARLA 0.9.13, you should probably be using UE4.26 instead. Hope this helps!

@Alphabaijinde
Copy link
Author

我有一个类似的错误 b/c 我不小心在较旧的 UE(可能是 4.18)上构建。如果您尝试构建 CARLA 0.9.13,您可能应该改用 UE4.26。希望这可以帮助!

o, thank u ! I refer to the project compilation document, which uses 4.18! UE4.24 and CARLA0.9.13 ?

@stale
Copy link

stale bot commented Jun 2, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not had recent activity label Jun 2, 2023
@Blyron
Copy link
Contributor

Blyron commented May 10, 2024

Please follow this steps in order to install Carla 0.9.13
https://carla.readthedocs.io/en/0.9.13/build_linux/

@Blyron Blyron closed this as completed May 10, 2024
@Alphabaijinde
Copy link
Author

Alphabaijinde commented May 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not had recent activity
Projects
None yet
Development

No branches or pull requests

3 participants