01-24-2019 11:53 AM
I am trying to run a simulation in Vivado HLS using this example:
When I run the testbench code using "Run C Simulation", I get the following error:
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon
support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script)
in cvNamedWindow, file /wrk/xbj_vdi/ryanw/opencv_mine/build03/opencv-2.4.5/modules/highgui/src/window.cpp,
terminate called after throwing an instance of 'cv::Exception'
what(): /wrk/xbj_vdi/ryanw/opencv_mine/build03/opencv-2.4.5/modules/highgui/src/window.cpp:479: error:
(-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu
or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow conv:solution1 Jan 24, 2019, 2:01:34 PM
Any help would be much appreciated. I am using VivadoHLS 2018.3 on a Centos operating system. I have installed the gtk package but it didn't make a difference.
Thanks in advance.
01-24-2019 02:48 PM
My guess is that the libraries are missing because the hls_video and opencv libraries were ported over to xfopencv in 2018.3. This repository is available on Github, here: https://github.com/Xilinx/xfopencv
Under HLS_Use_Model, there's a usage document as well as some examples. If you wanted to follow her example exactly, I would guess based on the post date that she was using 2017.4