I’m developing applications that utilize some NvMedia module. Unlike DriveWorks, it seems NvMedia samples from Drive OS can only be compiled for target machine. After following section “Building and Running the NvMedia Samples” in “NVIDIA DRIVE Software Development Guide 10.0 Release”, the sample application compiled are build for target architecture. For example:
nvmvid_cap: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.7.0…
I don’t see any option for compiling for host machine here.
If I copy the source code to DriveWorks samples, then I can compile for host machine, but I cannot include NvMedia library.
in NvMedia.h (DriveWorks/targets/x86_64-Linux/include/dw/core/NvMedia.h), all these NvMedia header files will only be included if “VIBRANTE” is defined, and “VIBRANTE” is not defined in the toolchain for host machine.
Is there any way I can test NvMedia API on a host machines? please advise.