kotra sharmila Posted January 29, 2019 Share Posted January 29, 2019 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 More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 i tried to compile xfopencv canny project through command line also but every time i got the same error. hls_target 1 error Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 2 minutes ago, kotra sharmila said: hi i am not yet connected in build only not seucesfull sds.log What kind of interface does your camera have? USB, HDMI or MIPI? Please attach an archive of the sdx project also. Have you tried compiling your project for your host machine? Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 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 More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 Hi, host machine means??? my archives libmy_video.a libxlnk_stub.a Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 Just now, kotra sharmila said: host machine means??? The computer where you have SDSoC installed. Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 Referencing steps means this steps (revision platform ) what you mentioned Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 3 minutes ago, kotra sharmila said: Referencing steps means this steps (revision platform ) what you mentioned In this post, there are 18 steps. In which step number are you getting errors? Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi, actually i dont install sdsoc i have that SDx 2017.4 i have doubt on that from starting sdsoc and sdx are diferent or same Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi, actually i dont install sdsoc i have that SDx 2017.4 i have doubt on that from starting sdsoc and sdx are diferent or same Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 5 minutes ago, kotra sharmila said: hi, actually i dont install sdsoc i have that SDx 2017.4 i have doubt on that from starting sdsoc and sdx are diferent or same SDx contains SDSoC as described here. Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 Have you read the following SDSoC documentation from Xilinx? https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1028-sdsoc-intro-tutorial.pdf https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1027-sdsoc-user-guide.pdf https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1233-xilinx-opencv-user-guide.pdf Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi ok i installed it in sdx path - /home/roash-sw-linux/opt/Xilinx/SDx/2017.4 Revision platform path -/home/roash-sw-linux/Desktop/zybo_z7_20 Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi i read but opencv not supported ?? then i got the sae error for xf opencv colour detection program also. Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi actuallly i dont have the below path in above pdf 2. Set the environment variable SYSROOT to the <path to sysroot folder>/sw/ aarch64-linux-gnu/sysroot folder. i have sysroot in platform ->export SYSROOT=/home/roash-sw-linux/Desktop/zybo_z7_20/sw/sysroot and i have it in different folder in where sdx installed /home/roash-sw-linux/opt/Xilinx/SDK/2017.4/gnu/microblaze/lin/microblaze-xilinx-elf/sysroot and linux gnu was there but sysroot is not there /home/roash-sw-linux/opt/Xilinx/SDK/2017.4/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 19, 2019 Author Share Posted February 19, 2019 14 hours ago, vicentiu said: VideoCapture I did't get you if i remove video capture then how it will deduct face and can you please modify it and attatch perticular filter2d_cv.cpp Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 19, 2019 Author Share Posted February 19, 2019 hi, i did't removed its demo video i/o project pcam 5 i did't change anything Link to comment Share on other sites More sharing options...
bogdan.deac Posted March 5, 2019 Share Posted March 5, 2019 On 2/22/2019 at 7:48 AM, kotra sharmila said: Hi this is my logfile sds_filter2d_cv.log The first error message is explicit: unsupported pointer reinterpretation from type 'i32*' to type 'i8*' on variable 'frm_data_in' frm_data_in argument is a pointer to uint32_t data but you have provided a pointer to 8-bit data when you called the filter2d_cv function. Solve the error and try to build again. Link to comment Share on other sites More sharing options...
bogdan.deac Posted February 4, 2019 Share Posted February 4, 2019 Try to use the following steps from Digilent SDSoC Platform README: To install this platform and run the sample programs, do the following: 1. 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 In Windows, go to Start->Control Panel->System->Advanced->Environment Variables and create a new environment variable called SYSROOT with the value: <extracted platform absolute path>\zybo_z7_20\sw\sysroot Then launch SDx 2017.4 as normal. 2. Point to an empty directory to use as a workspace. *NOTE* If you are also using the platform source then make sure you use a new, empty workspace, not the workspace with the platform generator project. SDx currently has a bug that breaks the ability to hardware accelerate functions in a platform's include path when that platform's project is also in the workspace. 3. In the top menu bar, click "Xilinx->Add Custom Platform..." 4. In the new window, click "Add Custom Platform..." and select the folder with the extracted platform (the folder this document is found in). 5. Click OK. 6. Now, in the top menu bar, click "File->New->SDx Project...". 7. Select Application Project and then press Next. 8. Name the project and press Next. 9. Select zybo_z7_20 and click Next. 10. Select Linux from the System Configuration drop-down. 11. Click Next, no other options should need to be changed on this page. 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. 13. Click the hammer button to build the project. This can take between 5-30 min on typical host machines. If the build process is successful, using a sample project, your system is set correctly. Let me know if you encounter any issues using the above mentioned steps. From this point you can try to replace the sources from the sample project with your code and try to build again. Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 4, 2019 Author Share Posted February 4, 2019 hi, No,I was asking about the errors above i got some clang specific error can you please help me how to clear that one. -- i got that error for all projects like opencv ,xfopencv like that. Regards, K Sharmila Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 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 Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 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 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 More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 hi i am not yet connected in build only not seucesfull here webcam means computer camera only sds.log Link to comment Share on other sites More sharing options...
vicentiu Posted February 12, 2019 Share Posted February 12, 2019 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 More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 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 Link to comment Share on other sites More sharing options...
kotra sharmila Posted February 12, 2019 Author Share Posted February 12, 2019 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 Link to comment Share on other sites More sharing options...
Question
kotra sharmila
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
95 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.