Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThanks. I have now installed it in Windows 10. But the problem now is that aoc command is compiling a hello world program for DE2 board for 2.5 hours.
The command I used: aoc device\hello_world.cl -o bin\hello_world.aocx --board de5net_a7 hello_world.aocx content: // AOC kernel demonstrating device-side printf call __kernel void hello_world(int thread_id_from_which_to_print_message) { // Get index of the work item unsigned thread_id = get_global_id(0); if(thread_id == thread_id_from_which_to_print_message) { printf("Thread# %u: Hello from Altera's OpenCL Compiler!\n", thread_id); } } The following is message after executing the above command: Warning: Please use -board=<value> instead of --board <value> aoc: Running OpenCL parser.... aoc: Optimizing and doing static analysis of code... Compiling for FPGA. This process may take a long time, please be patient. Still the compilation has not stopped.