the reference answer GPT ᴼ ᴾ ᴱ ᴺ ᴬ ᴵ < br / > look the compiler can't find the no - OS/xil gpio. H this header file, probably because they are not properly configured include paths. Try the following solutions:
Verify that the header path is correct. You can search #include "no-os/xil_gpio.h" in your source code and check to see if the path is correct.
Verify that the header file is in the correct path. You can go to the corresponding folder to see if the file exists.
If you confirm that the header path is correct but the compiler still can't find it, you need to add the header path to the compiler's compilation options. In Vitis, you can add C/C++ Build-> to the project properties. Settings -> SDS++ Compiler -> Adds the header file path to Includes.