UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer bartokon
Observer
344 Views
Registered: ‎09-17-2018

SDSoC openCV

Hello! I'm trying to create program based on open CV but I have no luck building it...

Also,  I cannot see example projects when creating new project on SDSoC. I have tried looking for git for them but no luck compiling it.... Should I use different builder? If yes please tell me what should I use...

I'm working on win10 os

In attachments, I'm including log file.

Thanks for help

Includes.PNG
ToolChainEditor.PNG
0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
303 Views
Registered: ‎08-20-2018

Re: SDSoC openCV

Hi @bartokon 

Xilinx opencv is specially designed for FPGA based platforms

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1233-xilinx-opencv-user-guide.pdf

Please refer above document for detailed information about xfopencv.

Here is the github repository

https://github.com/Xilinx/xfopencv

It is required to use reVision platform in order to use xilinx opencv library.

You can download reVision platforms here

https://github.com/Xilinx/reVISION-Getting-Started-Guide/blob/master/Docs/software-tools-system-requirements.md

 

Detailed procedure to compile xfopencv based examples is given in UG1233.

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Observer bartokon
Observer
252 Views
Registered: ‎09-17-2018

Re: SDSoC openCV

Dear @nutang,

Thanks for tips.

I'm trying to run OpenCV on zc702 but still no luck even with those files you gave me... I'm using windows10 machine.

I have created Ubuntu 18.04 LTS (WSL) on my pc, downloaded CMAKE, libraries for compiling and downloaded openCV from official gitRepo.

And I compiled them using (https://docs.opencv.org/2.4/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html). Next I created libs for both zc702 and zcu102 and tried to mount compiled libraries and now I have this kind of error (sds.log)

  "Error when calling 'arm-linux-gnueabihf-g++", now I just don't know what should I do to fix it...

Please give me some more tips if you please,

Best regards,

Bartokon

0 Kudos