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 sleach3
Observer
174 Views
Registered: ‎07-01-2018

SDx Revision Filter2D example won't build out of box

I was attempting to build the revision filter2D example just to work through the process. I am using SDSoC 2018.3 on Linux Mint. However, when after I finish building the filter2D project and I go to build the gst-- projects I get following error in the gstsdxfilter2d project:

aarch64-linux-gnu-g++ -Wall -O0 -g3 -I/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux//usr/include -I/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux//usr/include/glib-2.0 -I/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux//usr/lib/glib-2.0/include -I/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux//usr/include/gstreamer-1.0 -I/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux//usr/lib/gstreamer-1.0/include -c -fPIC -fpermissive -fmessage-length=0 -MT"filter2d_cv.o" --sysroot=/home/sleach3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux/ -MMD -MP -MF"filter2d_cv.d" -MT"filter2d_cv.o" -o "filter2d_cv.o" "../filter2d_cv.cpp"
../filter2d_cv.cpp:40:10: fatal error: filter2d_sds.h: No such file or directory
 #include <filter2d_sds.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
subdir.mk:21: recipe for target 'filter2d_cv.o' failed
make: *** [filter2d_cv.o] Error 1

I was following the tutorial from this link: https://github.com/Xilinx/reVISION-Getting-Started-Guide/blob/master/Docs/tool-flow-tutorials.md

This appears to be a linking issue as the projects are unable to see eachother's files but I am unsure of how to fix the problem.

 

Tags (2)
0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
156 Views
Registered: ‎08-20-2018

Re: SDx Revision Filter2D example won't build out of box

Hi @sleach3 

Have you set the SYSROOT?

If yes, please share the whole log

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Xilinx Employee
Xilinx Employee
141 Views
Registered: ‎08-20-2018

Re: SDx Revision Filter2D example won't build out of box

Hi @sleach3 

Please share the screenshot of C/C++ build settings -> C/C++ general -> paths and symbols 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Observer sleach3
Observer
134 Views
Registered: ‎07-01-2018

Re: SDx Revision Filter2D example won't build out of box

Hey @nutang ,

 

Thank you for your quick response. I actually discovered last night that the issue was when I did the step to create the "filter2d" project, I actually named my project "filter2D" with a capital D and therefore the system was unable to find the filter2d_sds.h file. Once I fixed that issue everything worked fine!