Jetson orin (devkit 64GB) cannot run the cross compiled program of ue5.1.1

Now, I am on jetpack 5.1.2.

Trying to build vulkanscinfo sample fails:

[ 50%] Building CXX object CMakeFiles/vulkanscinfo.dir/vulkaninfo.o
In file included from /usr/src/nvidia/vulkan-sc/vulkan-sc-ecosystem/vulkan-sc-sample/vulkanscinfo/generated/vulkanscinfo.hpp:30,
                 from /usr/src/nvidia/vulkan-sc/vulkan-sc-ecosystem/vulkan-sc-sample/vulkanscinfo/vulkaninfo.cpp:31:
/usr/src/nvidia/vulkan-sc/vulkan-sc-ecosystem/vulkan-sc-sample/vulkanscinfo/vulkaninfo.h:86:10: fatal error: vulkan/vulkan_sc_core.hpp: No such file or directory
   86 | #include <vulkan/vulkan_sc_core.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/vulkanscinfo.dir/build.make:76: CMakeFiles/vulkanscinfo.dir/vulkaninfo.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/vulkanscinfo.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

vksc_01tri fails this way

[ 20%] Linking CXX executable vk_01tri
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `checkJsonLayerSupport()':
vksc_01tri.cpp:(.text+0xb0): undefined reference to `vkEnumerateInstanceLayerProperties'
/usr/bin/ld: vksc_01tri.cpp:(.text+0xf0): undefined reference to `vkEnumerateInstanceLayerProperties'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `loadSPIRVShader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
vksc_01tri.cpp:(.text+0x30c): undefined reference to `vkCreateShaderModule'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `setupRenderPass()':
vksc_01tri.cpp:(.text+0x74c): undefined reference to `vkCreateRenderPass'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `setupRenderBuffer()':
vksc_01tri.cpp:(.text+0x900): undefined reference to `vkCreateImage'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x95c): undefined reference to `vkGetImageMemoryRequirements'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x9a8): undefined reference to `vkAllocateMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0xac0): undefined reference to `vkBindImageMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0xc28): undefined reference to `vkCreateImageView'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `setupFrameBuffer()':
vksc_01tri.cpp:(.text+0xdfc): undefined reference to `vkCreateFramebuffer'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `buildCommandBuffers()':
vksc_01tri.cpp:(.text+0x1038): undefined reference to `vkBeginCommandBuffer'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1108): undefined reference to `vkCmdBeginRenderPass'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1164): undefined reference to `vkCmdSetViewport'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x11b0): undefined reference to `vkCmdSetScissor'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x11d8): undefined reference to `vkCmdBindPipeline'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1200): undefined reference to `vkCmdClearAttachments'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1220): undefined reference to `vkCmdDraw'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1230): undefined reference to `vkCmdEndRenderPass'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1240): undefined reference to `vkEndCommandBuffer'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `draw()':
vksc_01tri.cpp:(.text+0x13a8): undefined reference to `vkQueueSubmit'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1470): undefined reference to `vkQueueWaitIdle'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `createCommandPool()':
vksc_01tri.cpp:(.text+0x15b4): undefined reference to `vkCreateCommandPool'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `createCommandBuffers()':
vksc_01tri.cpp:(.text+0x16b8): undefined reference to `vkAllocateCommandBuffers'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `setupPipeline()':
vksc_01tri.cpp:(.text+0x174c): undefined reference to `vkCreatePipelineLayout'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x19f8): undefined reference to `vkCreateGraphicsPipelines'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `setupCopyImage()':
vksc_01tri.cpp:(.text+0x1bd0): undefined reference to `vkCreateImage'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1c3c): undefined reference to `vkGetImageMemoryRequirements'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1c78): undefined reference to `vkAllocateMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1d64): undefined reference to `vkBindImageMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x1e6c): undefined reference to `vkAllocateCommandBuffers'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `issueCopyImage()':
vksc_01tri.cpp:(.text+0x213c): undefined reference to `vkBeginCommandBuffer'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2294): undefined reference to `vkCmdCopyImage'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x22a4): undefined reference to `vkEndCommandBuffer'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x23bc): undefined reference to `vkQueueSubmit'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2484): undefined reference to `vkQueueWaitIdle'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2578): undefined reference to `vkMapMemory'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `cleanup()':
vksc_01tri.cpp:(.text+0x26d4): undefined reference to `vkDestroyFramebuffer'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x26fc): undefined reference to `vkDestroyRenderPass'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2724): undefined reference to `vkDestroyImageView'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x274c): undefined reference to `vkDestroyImage'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2774): undefined reference to `vkDestroyImage'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x279c): undefined reference to `vkDestroyPipelineLayout'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x27c4): undefined reference to `vkDestroyPipeline'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x27f0): undefined reference to `vkFreeCommandBuffers'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x281c): undefined reference to `vkFreeCommandBuffers'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2844): undefined reference to `vkFreeMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x286c): undefined reference to `vkFreeMemory'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2894): undefined reference to `vkDestroyShaderModule'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x28bc): undefined reference to `vkDestroyShaderModule'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x28e4): undefined reference to `vkDestroyCommandPool'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x28f8): undefined reference to `vkDestroyDevice'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x290c): undefined reference to `vkDestroyInstance'
/usr/bin/ld: CMakeFiles/vk_01tri.dir/vksc_01tri.o: in function `createInstanceAndDevice()':
vksc_01tri.cpp:(.text+0x2a88): undefined reference to `vkCreateInstance'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2ad4): undefined reference to `vkEnumeratePhysicalDevices'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2b78): undefined reference to `vkEnumeratePhysicalDevices'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2bcc): undefined reference to `vkGetPhysicalDeviceProperties'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2c98): undefined reference to `vkCreateDevice'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2cec): undefined reference to `vkGetPhysicalDeviceMemoryProperties'
/usr/bin/ld: vksc_01tri.cpp:(.text+0x2d10): undefined reference to `vkGetDeviceQueue'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/vk_01tri.dir/build.make:97: vk_01tri] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/vk_01tri.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I was able to get past this second problem after following https://developer.nvidia.com/embedded/vulkan. Now it doesn’t work. Any ideas?