IsaacSimProjectEditor building error

Hello guys,

My system is DGX Station with Ubuntu 18.04.2 LTS. I install the cuda in my docker pulled from nvidia’s docker nvcr.io/cuda.

I was trying to run step 6:Build Isaac Sim editor with the following command as shown in https://docs.nvidia.com/isaac/isaac_sim/setup.html#installing-isaac-sim as below

make && make IsaacSimProjectEditor

However it comes with such errors.

First time it shows

/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

therefore I do

sudo docker cp mycontainer:/usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudart_static.a /usr/bin/ld

and then problems occur again…

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)

Any solutions for this? Thanks very much!

Best,
Rosy

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)

Hi Rosy,

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.

Thanks
Hammad

Hi Hammad,

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…

Any suggestions for this situation? Many thanks!

Rosy

Ah I see, you will need to use a docker image with opengl enabled.

Something like: FROM nvidia/cudagl:10.0-devel-ubuntu18.04 as nvidia-cudagl100-cudnn7

It should allow you to build Isaac Sim inside of the container, but we currently do not officially support Isaac Sim with docker.

Hi,
I installed CUDA 10.0 on my host (which is outside my docker container) and follow the instructions again. However I still get these errors…

UnrealBuildTool.GuardedMain: Command line: /home/dgxuser/UnrealEngine-IsaacSim_1.2/Engine/Binaries/DotNET/UnrealBuildTool.exe UE4Editor Linux Development
UnrealBuildTool.RunUBT: Creating makefile for UE4Editor (no existing makefile)
UEBuildTarget.AddPlugin: Enabling plugin 'Paper2D' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AISupport' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'LightPropagationVolume' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CLionSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CodeLiteSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'GitSourceControl' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'KDevelopSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'NullSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'PerforceSourceControl' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'SubversionSourceControl' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'UObjectPlugin' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'VisualStudioCodeSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'VisualStudioSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'XCodeSourceCodeAccess' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AssetManagerEditor' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CryptoKeys' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'DataValidation' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'FacialAnimation' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'GameplayTagsEditor' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MacGraphicsSwitching' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MeshEditor' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'EditableMesh' (referenced via default plugins -> MeshEditor.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'MobileLauncherProfileWizard' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'PluginBrowser' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'SpeedTreeImporter' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'DatasmithContent' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AlembicImporter' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'GeometryCache' (referenced via default plugins -> AlembicImporter.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'AppleImageUtils' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AppleVision' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'BackChannel' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CharacterAI' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'HTML5Networking' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ProxyLODPlugin' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MagicLeap' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ProceduralMeshComponent' (referenced via default plugins -> MagicLeap.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'MagicLeapEmulator' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MagicLeapMedia' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AndroidMedia' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AvfMedia' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ImgMedia' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'LinearTimecode' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MediaCompositing' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MediaPlayerEditor' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'WmfMedia' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'TcpMessaging' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'UdpMessaging' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ActorSequence' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'LevelSequenceEditor' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MatineeToLevelSequence' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'NUTUnrealEngine4' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'NetcodeUnitTest' (referenced via default plugins -> NUTUnrealEngine4.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'OnlineSubsystemGooglePlay' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'OnlineSubsystem' (referenced via default plugins -> OnlineSubsystemGooglePlay.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'AndroidPermission' (referenced via default plugins -> OnlineSubsystemGooglePlay.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'OnlineSubsystemIOS' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'OnlineSubsystemNull' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'OnlineSubsystemUtils' (referenced via default plugins -> OnlineSubsystemNull.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'LauncherChunkInstaller' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AndroidDeviceProfileSelector' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AndroidMoviePlayer' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AppleMoviePlayer' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ArchVisCharacter' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'AudioCapture' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CableComponent' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'CustomMeshComponent' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ExampleDeviceProfileSelector' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'GoogleCloudMessaging' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'IOSDeviceProfileSelector' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'ImmediatePhysics' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'LinuxDeviceProfileSelector' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'LocationServicesBPLibrary' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'MobilePatchingUtils' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'OculusVR' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'PhysXVehicles' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'RuntimePhysXCooking' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'SteamVR' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'WindowsMoviePlayer' (referenced via default plugins)
LinuxToolChain.PrintBuildDetails: ------- Build details --------
LinuxToolChain.PrintBuildDetails: Using system toolchain.
LinuxToolChain.PrintBuildDetails: Using clang (/usr/bin/clang++) version '6.0.0' (string), 6 (major), 0 (minor), 0 (patch)
LinuxToolChain.PrintBuildDetails: Using bundled libc++ standard C++ library.
LinuxToolChain.PrintBuildDetails: Using lld linker
LinuxToolChain.PrintBuildDetails: Using ar and ranlib: /usr/bin/ar, /usr/bin/ranlib
LinuxToolChain.PrintBuildDetails: Using fast way to relink  circularly dependent libraries (no FixDeps).
LinuxToolChain.PrintBuildDetails: ------------------------------
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: 13.16 seconds (Local executor: 0.00 seconds)

Do I need to install opengl on the host as well?? It does not mention in the installation instructions.

Thanks in advance!

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.