Forum Discussion
Hi, I have the some problems with aocl-clang. do you have any documentation? I have problems with -board argument
Hey
I am facing a similar issue.
C:\intelFPGA_pro\Examples\1.hotspot>aoc -v -board=s10gx device/hotspot.cl -o bin/hotspot.aocx
aoc: Clang version:
Error: aoc: Executable C:/intelFPGA_pro/19.1/hld/windows64/bin/../../llvm/bin/aocl-clang exists but is not working!
The cause of failure cannot be determined. Run executable manually and watch for error messages.
Where you able to solve this?
- HRZ6 years ago
Frequent Contributor
Did you try the existing suggestions? Specifically, running the aocl-clang binary directly to see what error message it will print?
- SDesh126 years ago
New Contributor
Yes I did run the aocl-clang binary. It displayed a series of system error windows. But these files are present in the C:\intelFPGA_pro\19.1\quartus\dspba\backend\windows64 directory.
- HRZ6 years ago
Frequent Contributor
Please carefully check the following document and make sure you have correctly followed the steps to install the SDK and set the environmental variables:
If you are using Windows 10, it is best not to install Quartus in drive C due to possible permission problems. You can try changing the permission of the installation folder of Quartus and all its subfolders so that they are accessible by "Everyone" and see if it fixes your problem. You can also try running the cmd shell through which you run your commands as admin. More info can be found here:
https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/