Intel HLS compiler does not find includes
Hi everyone
I am new to HLS and doing my first steps with the Intel HLS compiler. I am using Intel Quartus 18.1 which comes with an integrated HLS compiler and also provides with samples for people like me doing the first steps with it.
To meet the pre-requisites for the HLS compiler I have installed Visual Studio 2017 Professional edition on my computer. Then followed the installation and initialization instructions from the Intel Website: https://www.intel.com/content/www/us/en/docs/programmable/683053/19-1/installing-the-standard-edition-on-microsoft.html
After running the init_hls.bat I thought I am ready to run one of the first examples. So I picked the 'counter' project provided in the <quartus install dir>\hls\examples\counter folder. But when running the build.bat file I always encounter the following error:
I did some research through the web to solve this issue. Some stated that a different command prompt should be used to overcome this issue. Some said that you need to specify the correct paths. But so far I was not able to solve this issue. Can someone give me a hint what I can do so that the HLS compiler is able to find the correct paths for the standard includes?
Hi Aik
Thanks for your time and the attempts to help me.
Finally I found out what the problem is and it is going in a completely different direction than you tried to help. Unfortunately I must say the Intel documentation for the HLS compiler has a lot of room for improvement!
The problem on my side was at different locations:- I had to install the latest Quartus version. I was not able to get it run with Quartus 18.1 which I am currently using.
- I had to download the latest HLS compiler 21.4. The one which comes with Quartus 18.1 does not work on my computer. I was still not able to correctly run the init_hls.bat file.
- I was using Windows Power Shell as the command prompt, but this is not working. You need to use the normal command prompt to get it run.
However, in the end the following link helped me a lot to solve the problem:
https://www.macnica.co.jp/en/business/semiconductor/articles/intel/127029/Best Regards
Paba