Xilinx / Vitis_Libraries

Vitis Libraries
https://docs.xilinx.com/r/en-US/Vitis_Libraries
Apache License 2.0
897 stars 357 forks source link

WARNING: [HLS 200-1998] cannot find relative file path '"${XF_PROJ_ROOT}/L1/include"' in directory(s): C:/Users/Arnav/Downloads/Vitis_Libraries-ee8db02919347b208dbf952156fc37a75b24ed15/vision/L1/examples/isppipeline/hls_component #200

Open amsheth opened 5 months ago

amsheth commented 5 months ago

I have setup all the enviorment variables in my powershell and for some reason it seems to keep failing to run C simulation I have tried with both Code Analyzer and regular C sim on Vitis Unified IDE.

I am also getting this error: [ERROR] ERROR: [HLS 200-1912] Problem with ini entry 'cosim.argv=${XF_PROJ_ROOT}/data/ltm_input_HD.png' from C:/Users/Arnav/Downloads/Vitis_Libraries-ee8db02919347b208dbf952156fc37a75b24ed15/vision/L1/examples/isppipeline/hls_component/hls_config.cfg(18): can't read "XF_PROJ_ROOT": no such variable [ERROR] ERROR: problem with 'cosim.argv=${XF_PROJ_ROOT}/data/ltm_input_HD.png' from C:/Users/Arnav/Downloads/Vitis_Libraries-ee8db02919347b208dbf952156fc37a75b24ed15/vision/L1/examples/isppipeline/hls_component/hls_config.cfg(18): can't read "XF_PROJ_ROOT": no such variable

If there is any work around to this please let me know.

vt-lib-support commented 4 months ago

Hello @amsheth ,

Looks like the XF_PROJ_ROOT variable is not getting set correctly in your environment. You may try setting the variable manually to point to your Vitis Vision library repository directory.

Also, you can try to run on a regular terminal after sourcing the Vitis environment setup scripts.