/usr/bin/ld: cannot find /usr/local/cuda/lib64/libcudart_static.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/IsaacSimProject/Plugins/DLAnimation/Binaries/Linux/libUE4Editor-DLAnimation.so
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Fixing inconsistent case in filenames.
Setting up Mono
Building CrashReportClient...
Target is up to date
Total build time: 0.21 seconds (NoActionsToExecute executor: 0.00 seconds)
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" ShaderCompileWorker Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building ShaderCompileWorker...
Target is up to date
Total build time: 0.22 seconds (NoActionsToExecute executor: 0.00 seconds)
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" UnrealLightmass Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building UnrealLightmass...
Target is up to date
Total build time: 0.17 seconds (NoActionsToExecute executor: 0.00 seconds)
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" UnrealFrontend Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building UnrealFrontend...
Target is up to date
Total build time: 0.31 seconds (NoActionsToExecute executor: 0.00 seconds)
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" UE4Editor Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building UE4Editor...
Performing full C++ include scan (building a new target)
Target is up to date
Total build time: 8.57 seconds (NoActionsToExecute executor: 0.00 seconds)
bash "/home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Build/BatchFiles/Linux/Build.sh" IsaacSimProjectEditor Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building IsaacSimProjectEditor...
Performing full C++ include scan (building a new target)
Performing 2 actions (40 in parallel)
[1/2] Link (ld) libUE4Editor-DLAnimation.so
clang: error: unable to execute command: Executable "ld" doesn't exist!
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/IsaacSimProject/Plugins/DLAnimation/Binaries/Linux/libUE4Editor-DLAnimation.so
(see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 7.71 seconds (Local executor: 0.00 seconds)
Makefile:618: recipe for target 'IsaacSimProjectEditor' failed
make: *** [IsaacSimProjectEditor] Error 5
In the log.txt, it shows…
UnrealBuildTool.GuardedMain: Command line: /home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Binaries/DotNET/UnrealBuildTool.exe IsaacSimProjectEditor Linux Development
UnrealBuildTool.RunUBT: Performing full C++ include scan (building a new target)
ActionGraph.IsActionOutdated: libUE4Editor-DLAnimation.so: Produced item "libUE4Editor-DLAnimation.so" doesn't exist.
ActionGraph.IsActionOutdated: libUE4Editor-DLAnimationEditor.so: Produced item "libUE4Editor-DLAnimationEditor.so" doesn't exist.
UEBuildTarget.TryRecycleVersionManifests: Recycled previous build ID (a62890bc-884c-4fd5-8cdf-3e18d3248a4a)
LocalExecutor.ExecuteActions: Performing 2 actions (40 in parallel)
ActionThread.ThreadFunc: [1/2] Link (ld) libUE4Editor-DLAnimation.so
ExceptionUtils.<PrintExceptionInfo>m__1: ==============================================================================
ExceptionUtils.<PrintExceptionInfo>m__0: ERROR: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/IsaacSimProject/Plugins/DLAnimation/Binaries/Linux/libUE4Editor-DLAnimation.so
ExceptionUtils.<PrintExceptionInfo>m__0: (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
ExceptionUtils.<PrintExceptionInfo>m__1:
ExceptionUtils.<PrintExceptionInfo>m__1: BuildException: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/IsaacSimProject/Plugins/DLAnimation/Binaries/Linux/libUE4Editor-DLAnimation.so
ExceptionUtils.<PrintExceptionInfo>m__1: at UnrealBuildTool.ActionGraph.ExecuteActions (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.Collections.Generic.List`1 ActionsToExecute, Boolean bIsRemoteCompile, System.String& ExecutorName, System.String TargetInfoForTelemetry, EHotReload HotReload) [0x00000] in <filename unknown>:0
ExceptionUtils.<PrintExceptionInfo>m__1: at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in <filename unknown>:0
ExceptionUtils.<PrintExceptionInfo>m__1: ==============================================================================
UnrealBuildTool.RunUBT: Total build time: 7.71 seconds (Local executor: 0.00 seconds)
Then I install the CUDA on my host and remake. The errors changes to
UnrealBuildTool.GuardedMain: Command line: /home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Binaries/DotNET/UnrealBuildTool.exe UE4Editor Linux Development
ActionGraph.IsActionOutdated: libUE4Editor-VulkanRHI.so: Produced item "libUE4Editor-VulkanRHI.so" doesn't exist.
ActionGraph.IsActionOutdated: libUE4Editor-SteamVR.so: Prerequisite libUE4Editor-VulkanRHI.so is produced by outdated action.
ActionGraph.IsActionOutdated: libUE4Editor-VirtualCamera.so: Prerequisite libUE4Editor-SteamVR.so is produced by outdated action.
ActionGraph.IsActionOutdated: libUE4Editor-SteamVRController.so: Prerequisite libUE4Editor-SteamVR.so is produced by outdated action.
UEBuildTarget.TryRecycleVersionManifests: Recycled previous build ID (a62890bc-884c-4fd5-8cdf-3e18d3248a4a)
LocalExecutor.ExecuteActions: Performing 4 actions (40 in parallel)
ActionThread.ThreadFunc: [1/4] Link (ld) libUE4Editor-VulkanRHI.so
ExceptionUtils.<PrintExceptionInfo>m__1: ==============================================================================
ExceptionUtils.<PrintExceptionInfo>m__0: ERROR: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Binaries/Linux/libUE4Editor-VulkanRHI.so
ExceptionUtils.<PrintExceptionInfo>m__0: (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
ExceptionUtils.<PrintExceptionInfo>m__1:
ExceptionUtils.<PrintExceptionInfo>m__1: BuildException: UBT ERROR: Failed to produce item: /home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Binaries/Linux/libUE4Editor-VulkanRHI.so
ExceptionUtils.<PrintExceptionInfo>m__1: at UnrealBuildTool.ActionGraph.ExecuteActions (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.Collections.Generic.List`1 ActionsToExecute, Boolean bIsRemoteCompile, System.String& ExecutorName, System.String TargetInfoForTelemetry, EHotReload HotReload) [0x00000] in <filename unknown>:0
ExceptionUtils.<PrintExceptionInfo>m__1: at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in <filename unknown>:0
ExceptionUtils.<PrintExceptionInfo>m__1: ==============================================================================
UnrealBuildTool.RunUBT: Total build time: 3.16 seconds (Local executor: 0.00 seconds)
Can you share your Dockerfile? And the command you use to run the container?
There seem to be dependencies missing in the image you are using to build, you should not need to copy libraries from the host into the container if the image is set up properly.
Does Isaac Sim compile on the DGX outside of docker? If it does you can compile on the host and then mount the compiled version inside of the container to run it.
I believed that the dockerfile was pulled from nvcr.io with
docker pull nvcr.io/nvidia/cuda
The CUDA version is 10.1.And the run command is
docker run -it nvcr.io/nvidia/cuda
Before, yes, the isaac sim compile outside of docker.
However, please check the #2. I realized the problems may caused by CUDA. So I install the CUDA on my host and run the installation procedure of ISAAC SIM. Then the error changed to another one…
If the compilation error is occurring inside of the container then you will need opengl support in the container. I don’t think you need any host side changes.