Installing openCV for cross compilation

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
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?