Jump to content
  • 0

sdsoc_opencv error


kotra sharmila

Question

hi ,

this is sharmila i installed SDx tools i am new to this.

->first time creating the project application project we need to add platform zybo is not there in platform list.

->I am tried so many methods to add custom platform for sdx 2017.4 and petalinux also 2017.4.

->and also any one share how to generate platform and creation of project in SDx guidelines in step by step.

any answer will help to me.

Thanks in advance,

K sharmila

Link to comment
Share on other sites

Recommended Posts

9 minutes ago, kotra sharmila said:

Hi i followed above steps only but when i try to create the opencv project it shows the headers not defined error and when i link thirdparty or through sysroot it showing th above error

 

Which step are you referring to when you say "create the opencv project"?

Link to comment
Share on other sites

4 hours ago, kotra sharmila said:

HI,

i got stucked in my own project face detection with same error,and i was include opencv library link path and sds++ comapiler include path from revision platform which i was downloaded from your link.

path : /home/roash-sw-linux/Desktop/zybo_z7_20/sw/sysroot/usr/include

/home/roash-sw-linux/Desktop/zybo_z7_20/sw/sysroot/usr/lib

Workspace 1_074.png

You don't need to re-include the opencv library if you follow the steps above.

What is this "same error" you are referring to?

Link to comment
Share on other sites

6 hours ago, kotra sharmila said:

hi,

i wanted to execute simple opencv face detection through webcam of my own .but opencv headers showing error how to download and link opencv library.

can you please tell me stepwise.

Regards,

K Sharmila

How is the webcam connected to the board? USB, HDMI or MIPI port?

What errors are the opencv headers showing?

Please attach full log.

Link to comment
Share on other sites

HI,

i got stucked in my own project face detection with same error,and i was include opencv library link path and sds++ comapiler include path from revision platform which i was downloaded from your link.

path : /home/roash-sw-linux/Desktop/zybo_z7_20/sw/sysroot/usr/include

/home/roash-sw-linux/Desktop/zybo_z7_20/sw/sysroot/usr/lib

Workspace 1_074.png

Link to comment
Share on other sites

You don't have to follow the steps that are listed in the reVision README.md document. In README.md is specified:

Quote

Please click on the releases tab in github to download the latest release for your version of SDx.

That steps are used only if you want to modify an existing platform or to create a new one, and are not recommended for beginner users because one need to poses knowledge about digital design, Petalinux configuration and building and deep SDSoC understanding. So do not try to build the platform by your own. Instead, use a released version of reVision platform.

Follow the next steps:
1. Make sure that you have installed SDx 2017.4.
2. Open SDx -> Xilinx -> Add Custom Platform...
3. From Manage(Custom) tab, remove any platform related to zybo_z7, using the Remove button. Close SDx.
4. Download the released reVision platform.
5. Extract the archive.
6. Set the SYSROOT environment variable and launch SDx. This is done in Linux by
   opening a new terminal and running:

   source /opt/Xilinx/SDx/2017.4/settings64.sh
   export SYSROOT=<extracted platform absolute path>/zybo_z7_20/sw/sysroot
   sdx

7. Point to an empty directory to use as a workspace.
8. In the top menu bar, click "Xilinx->Add Custom Platform..."
9. In the new window, click "Add Custom Platform..." and select the folder with
   the extracted platform.
10. Click OK
11. Now, in the top menu bar, click "File->New->SDx Project...".
12. Select Application Project and then press Next.
13. Name the project and press Next.
14. Select zybo_z7_20 and click Next.
15. Select Linux from the System Configuration drop-down.
16. Click Next, no other options should need to be changed on this page.
17. Select the Simple Filter2d Live I/O demo sample application to run and click finish to create the project.
18. Click the hammer button to build the project. This can take between 5-30 min
    on typical host machines.

Let us know if you get stuck in any of the steps.

Link to comment
Share on other sites

Hi,

am doing this platform(revision )but i got stucked in

 

ii cd into the vivado/zybo_z7_20/ folder

iii Run "./cleanup.sh" at the terminal if you have pulled remote changes since the last time you have built the project. If you have not pulled any changes to the vivado project from git or it is your first time building the project then you do not need to run the script.

 

can you please help me

 

Link to comment
Share on other sites

3 minutes ago, kotra sharmila said:

am doing upto that custom platform adding

Are you referring to step 4? Are you getting an error at that step?

Quote

but and also runned the example project partition

 We don't know what you are referring to here.

Quote

vec add(there is no filter2d Live I/0 )bu default in those examples

There are two reasons why you might not see filter2d Live I/O:

  1. You didn't download the right revision platform. Make sure you download this platform. If you have some other platform already downloaded for Zybo-Z7 you need to first remove it from the IDE.
  2. There is a small chance there is some IDE error. In this case, you need to contact Xilinx for support.
Link to comment
Share on other sites

Hi @kotra sharmila,

Please follow the steps provided in this read me to modify/create your project.

Please kkep in mind the following NOTE at step 12

Quote

12. Select a sample application to run and click finish to create the project.

*NOTE* When creating a project that uses xfopencv, it is best to always use a sample project as a starting point. The source files can be replaced with the new project's source. This is because the sample project sets up a lot of build settings like include paths, libraries, and symbols that are required for the libraries to build.

- Ciprian

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...