-
I was tasked with compiling an existing project with our jetson nano devkit yocto SDK. I have added the following to my image:
I've searched the build dir on my build-machine and found:
But the installed SDK only includes:
I source the SDK as usual.
Results in:
The cuda flags from cuda.sh get sourced correctly. nvcc and so on can be found correctly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
My SDKs are the same - target headers only in the target side of the SDK, and I have some CMake-based CUDA projects that build OK. Are you using CMake CUDA language support, FindCUDA, or something else? Is there anything in your CMake files that might be overriding the compiler flags? There should be a |
Beta Was this translation helpful? Give feedback.
My SDKs are the same - target headers only in the target side of the SDK, and I have some CMake-based CUDA projects that build OK. Are you using CMake CUDA language support, FindCUDA, or something else? Is there anything in your CMake files that might be overriding the compiler flags? There should be a
-I
flag being passed in that points at the target-side CUDA tree where it's needed.