Thread:Talk:Jetson/Installing OpenCV/problems with OpenCV install on Jetson TK!. (CUDA CUDA LIBRARY undefined)/reply

It sounds like you are trying to build OpenCV from source? If you do that, you can't get the hundreds of CPU optimizations (for quad-core and NEON SIMD) that OpenCV4Tegra prebuilt packages provide. So I recommend that you don't build OpenCV from source, I recommend you use the OpenCV4Tegra prebuilt packages, as mentioned above the manual installation section. OpenCV manual installation is mostly just for people modifying the OpenCV library (such as NVIDIA employees, since we have access to the OpenCV4Tegra source code including all our closed-source optimizations).