Closed estibalitz closed 5 years ago
Make sure pcam_vdma_hdmi is a C++ project when creating.
The programs closes as soon as pcam_vdma_hdmi is defined as a C++ project. It only enables Target Software Language to C. After defining the blanck empty application in C, there are no issues or errors.
But the main error comes when including the import files
where some fo them are not defined as:
And after trying to create again the Empty application for Fsbl_source the same errors do appear:
Ignore the importing/creating FSBL for now, you might not even need it. The error message you must focus on is: "undefined reference to 'main'". This is linker error saying that when linking all the libraries/modules together your C/C++ application does not have a main function present. If you created pcam_vdma_hdmi as a C++ application and you imported main.cc correctly, it will have a main function defined.
you were right, I did add them and there was no longer error regarding to the "undefined reference to 'main'". But an warning promps up because of ps7_cortexa_9.
I have looked to some forums, and it ios supossed to be something about the drivers, but adding -g-O0 doesn´t work for me as it was supossed ( i get 98 errors)
Re-create the launch configurations, or better yet the whole workspace.
I have tried your code but I do get two error, just afterdoing: .import--> File System-->sdk_appsrc/pcam_vdma_hdmi that are:
and I dont understand what can be wrong