# Installing openCV for cross compilation

**URL:** <https://forums.developer.nvidia.com/t/installing-opencv-for-cross-compilation/35516>\
**Category:** CUDA Setup and Installation\
**Tags:** opencv\
**Created:** [November 9, 2014, 1:35pm UTC](https://forums.developer.nvidia.com/t/installing-opencv-for-cross-compilation/35516 "2014-11-09T13:35:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikibest2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mikibest2](https://forums.developer.nvidia.com/u/mikibest2)\
**Post date:** [November 9, 2014, 1:35pm UTC](https://forums.developer.nvidia.com/t/installing-opencv-for-cross-compilation/35516/1 "2014-11-09T13:35:08Z")

</div>

Hello,  
not sure if this should go here, but I am currently trying to set up my jetson TK1 with openCV.  
I have a project using openCV that I want to compile on a host computer, and run on the tegra.  
I have set up cuda, and managed to cross compile the box filter sample (as shown in this guide [http://devblogs.nvidia.com/parallelforall/nvidia-nsight-eclipse-edition-for-jetson-tk1/](http://devblogs.nvidia.com/parallelforall/nvidia-nsight-eclipse-edition-for-jetson-tk1/)).  
Now I can’t understand how to get openCV to work- I have opencv4tegra installed on the tegra, but when I try installing it on my host computer (running ubuntu 12.04) it gives some dependency issues (though those packages are already installed!)

In short- what should I do with my host computer to get openCV to work for cross compilation with a jetson TK1?
