Showing results for 
Show  only  | Search instead for 
Did you mean: 
Registered: ‎11-18-2014

Compilation error when using OpenCV library with Vivado HLS


I'm pretty new to HLS and want to use opencv for zynq-7000. I have two major issue:

1) once I could run Video_Library_Windows.bat from xapp1167 but now I get the following error:


I have also change the OPENCV_VER in the in the share folder of xapp1167\xapp1167_vivado\sw\share but no difference.


/bin/sh/: line 6 cmd.exe: command not found


2) for another filter, I can Csynthesize and also export the IP of my filter, however I get the following error when I want to run C/RTL Cosimulastion:


c:/xilinx/vivado_hls/2014.2/msys/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lopencv_calib3d245


I don't use opencv2.4.5 (as it is shown in the above error). I have copied all the opencv2.4.10 lib to the 

and I have also added the C:\OpenCV\build\x64\vc10\bin to my Environment Variables.


I am suspecting that there is sth wrong in the compiler linking/version.

I appreciate your help,


0 Kudos
1 Reply
Registered: ‎11-18-2014

Apparanetly opencv 2.4.5 is hard core defined in hls (or at least I couldn't change it).

I changed all the dlls and librarys of opencv 2.4.10 to 2.4.5 and it worked for me.

0 Kudos