l0wl3vel/UnrealEngine-FMIPlugin

Building with carla0.9.12 and UE4.26

ll7 opened this issue · 1 comments

ll7 commented

I tried to use the UnrealEngine-FMIPlugin with CARLA 0.9.12, which uses Unreal Engine 4.26 and not 4.24.

I build UE4 and Carla successfully. Afterwards, I copied the FMIKit folder into the Plugins folder.

I launched VS Code and opened the CarlaUE4 folder. I executed the Build Task Linux Development and got the following error message:

> Executing task: Engine/Build/BatchFiles/Linux/Build.sh CarlaUE4 Linux Development /media/luttkule/HDD/git/carla/Unreal/CarlaUE4/CarlaUE4.uproject -waitmutex <

Fixing inconsistent case in filenames.
Setting up Mono
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe CarlaUE4 Linux Development /media/luttkule/HDD/git/carla/Unreal/CarlaUE4/CarlaUE4.uproject -waitmutex
Using 'git status' to determine working set for adaptive non-unity build (/home/luttkule/UnrealEngine_4.26).
Creating makefile for CarlaUE4 (no existing makefile)
ERROR: Unable to instantiate module 'libzip': System.ComponentModel.Win32Exception (0x80004005): ApplicationName='conan', CommandLine='install . -g=json --profile=ue4.26-Linux-x86_64-unknown-linux-gnu', CurrentDirectory='/media/luttkule/HDD/git/carla/Unreal/CarlaUE4/Plugins/FMIKit/Source/libzip', Native error= Cannot find the specified file
         at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <23340a11bb41423aa895298bf881ed68>:0 
         at System.Diagnostics.Process.Start () [0x0003a] in <23340a11bb41423aa895298bf881ed68>:0 
         at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
         at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <23340a11bb41423aa895298bf881ed68>:0 
         at libzip..ctor (UnrealBuildTool.ReadOnlyTargetRules Target) [0x00090] in <72ee4f8cf7ac410cb44e8b12d57d0e99>:0 
         at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
         at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <98fac219bd4e453693d76fda7bd96ab0>:0 
       (referenced via Target -> FMIKit.Build.cs)
The terminal process "bash '-c', 'Engine/Build/BatchFiles/Linux/Build.sh CarlaUE4 Linux Development /media/luttkule/HDD/git/carla/Unreal/CarlaUE4/CarlaUE4.uproject -waitmutex'" terminated with exit code: 6.

Terminal will be reused by tasks, press any key to close it.

Do you have any recommendations on how to fix this error?

My best guess is that this is caused by missing conan pre-computed dependency data. I just merged the pre-comupted dependencies for 2.26.

I see that this is no long term solution and I will probably change the dependency process to just shipping binaries for libzip and elzip.