Cross compiling opencv for Nvidia Jetson TX1

I followed this tutorial to cross compile cuda samples for the TX1

Now I want to cross compile opencv but I couldn’t find any tutorial for it.
Is there any good tutorial to cross compile opencv using nsight?

Hello, kalvik:
openCV has a lot of dependencies. cross-compile is quite difficult.

br
Chenjian

Opencv will compile right on the TX1 no need to cross compile it.

I am asking about opencv so that I can use the same method to compile some other library like pcl.

This thread might help: https://devtalk.nvidia.com/default/topic/929186/jetson-tx1-kernel-compilation/