carla-simulator / carla-map-editor

Standalone GUI application to enhance RoadRunner maps with traffic lights and traffic signs information.
Other
74 stars 23 forks source link

ERROR: System.IndexOutOfRangeException: Array index is out of range. #2

Open riemannulus opened 5 years ago

riemannulus commented 5 years ago

Environment

OS: Manjaro Linux x86_64 Kernel: 4.19.28-1-MANJARO CPU: Intel i7-6700 (8) @ 4.000GHz GPU: NVIDIA GeForce GTX 960

Error Code

BuildCarlaEditor.sh: Using Unreal Engine at '/home/suho/Repository/UnrealEngine'
BuildCarlaEditor.sh: Build CarlaEditor project.
make[1]: Entering directory '/home/suho/Workspace/carla-map-editor/Unreal/CarlaEditor'
bash "/home/suho/Repository/UnrealEngine/Engine/Build/BatchFiles/Linux/RunMono.sh" "/home/suho/Repository/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe" CarlaEditorEditor Linux Development  -project="/CarlaEditor.uproject" 

Running Mono...

Fixing inconsistent case in filenames.
Setting up Mono
~/Repository/UnrealEngine/Engine ~/Workspace/carla-map-editor/Unreal/CarlaEditor
Using 'git status' to determine working set for adaptive non-unity build (/home/suho/Repository/UnrealEngine).
ERROR: System.IndexOutOfRangeException: Array index is out of range.
         at Tools.DotNETCommon.DirectoryReference.IsRootDirectory () [0x00000] in <filename unknown>:0 
         at Tools.DotNETCommon.DirectoryReference.get_ParentDirectory () [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.SourceFileWorkingSet.TryCreateGitWorkingSet (Tools.DotNETCommon.DirectoryReference RootDir, Tools.DotNETCommon.DirectoryReference ProjectDir, UnrealBuildTool.GitSourceFileWorkingSet& OutWorkingSet) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.SourceFileWorkingSet.Create (Tools.DotNETCommon.DirectoryReference RootDir, Tools.DotNETCommon.DirectoryReference ProjectDir) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in <filename unknown>:0 
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
make[1]: *** [Makefile:200: CarlaEditorEditor] Error 5
make[1]: Leaving directory '/home/suho/Workspace/carla-map-editor/Unreal/CarlaEditor'
make: *** [Util/BuildTools/Linux.mk:7: launch] Error 2

When?

  1. command make launch on carla-map-editor project root folder. ($HOME/Workspace/carla-map-editor)

Hi. first of all, I glad to say this project is very helpful to me. I enjoy release binary version of this project. and some reason I need to build project myself. But it is not good at me.

Anyone help? Am I was wrong?

riemannulus commented 5 years ago

new: I try build package today, but It getting another library dependency error.

ActionThread.ThreadFunc: [441/442] Compile pugixml.cpp
ActionThread.ThreadFunc: [442/442] Link (lld) CarlaEditor
ActionThread.ActionDebugOutput: /home/suho/Repository/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/ld.lld: error: unable to find library -lassimp
ActionThread.ActionDebugOutput: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: UBT ERROR: Failed to produce item: /home/suho/Workspace/carla-map-editor/Unreal/CarlaEditor/Binaries/Linux/CarlaEditor
Log.WriteException:        (see /home/suho/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-CarlaEditor-Linux-Development.txt for full exception trace)
Log.WriteException: 
Log.WriteException: BuildException: UBT ERROR: Failed to produce item: /home/suho/Workspace/carla-map-editor/Unreal/CarlaEditor/Binaries/Linux/CarlaEditor
Log.WriteException:   at UnrealBuildTool.ActionGraph.ExecuteActions (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.Collections.Generic.List`1 ActionsToExecute, System.String& ExecutorName, System.String TargetInfoForTelemetry, EHotReload HotReload) [0x00000] in <filename unknown>:0 
Log.WriteException:   at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in <filename unknown>:0
Log.WriteException: ==============================================================================
UnrealBuildTool.RunUBT: Total build time: 657.09 seconds (Local executor: 0.00 seconds)
wattsavolt commented 5 years ago

Apologies for this issue. One of the assimp library files was missing. This issue has now been addressed.

If you get any other error during make package. make clean rebuild should fix it.