Forum Discussion
polasz
New Contributor
4 years agoAOC compile emulation error
Hi everyone,
I am using Quartus Prime Pro version 20.4 and am trying to build for emulation, when I build the hello world example via:
aoc -march=emulator -v hello.cl
I get the output:
aoc:...
aikeu
Regular Contributor
4 years agoHi polasz,
You can try this as example instead:
Thanks.
Regards,
Aik Eu
polasz
New Contributor
4 years agoHi,
Thanks very much Aik Eu, we have been playing with this and found that it was because we had incorrectly set the PATH environment variable so it did not point to hld/llvm/aocl-bin directory correctly. When including that in the path it all works now for us
I post this here in-case it is helpful to anyone in the future who is getting a similar issue
Cheers,
Nick
- Yeeves2 years ago
New Contributor
Thanks Polzsz
This helped me fix the issue that stuck with me for three days. Your solution works.
Cheers
Feng