08-01-2018 01:26 AM
Hello,
I followed the steps in the TRD. After importing the project into SDK there are some errors which indicate some files are missing like
#include <mediactl/mediactl.h> #include <mediactl/v4l2subdev.h> #include <gst/gst.h>
I do not know how to proceed.
should I include manually the petalinux folder for library?
Please let me know what can I do to resolve these errors.
thank you in advance
Best regards
08-03-2018 06:27 AM - edited 08-03-2018 06:29 AM
I have gone through the steps in DM4 of VCU TRD just now, without changing IPI design, couldn't reproduce the error anymore.
Can you follow the VCU steps from scratch, and then see how it goes?
The sequence to build project has to be :
vcu_apm_lib
vcu_video_lib
vcu_gst_lib
vcu_gst_app
08-02-2018 02:52 AM
@msh Just want to confirm, did you see the same issue as shown in the screenshot?
If so, you might have missed updating SYSROOT environment. We have mentioned those in the wiki pages. Please follow the below steps for generating SYSROOT and to source the script.
In the petalinux project, Generate the sysroot and source the path with the below steps. Than open xsdk in the same terminal and try to build the applications.
% petalinux-build --sdk
% petalinux-package --sysroot
% source <compiled petalinux bsp path>/images/linux/sdk/environment-setup-aarch64-xilinx-linux
% cd $TRD_HOME/apu
% xsdk -workspace . &
Please let me know your observations after doing the above steps.
08-02-2018 03:02 AM
Hi @xud
Thank you for your reply.
I have run the SYSROOT environment step as mentioned in the wiki page. My errors in SDK is different as shown below.
Best regards
08-03-2018 06:27 AM - edited 08-03-2018 06:29 AM
I have gone through the steps in DM4 of VCU TRD just now, without changing IPI design, couldn't reproduce the error anymore.
Can you follow the VCU steps from scratch, and then see how it goes?
The sequence to build project has to be :
vcu_apm_lib
vcu_video_lib
vcu_gst_lib
vcu_gst_app
08-03-2018 06:58 AM
08-13-2018 02:34 AM
Hi @msh,
Do you have any updates?