Cross compiling for Xavier NX (recompile with -fPIC, linker error)

@eduardmraz2, could you post your complete CMakeList.txt ? I am struggling to cross-compile a sample application. I created the following topic:

Thanks.