Thank you for your reply.
I can't attach the quartus_sh_compile.log since there is no such file in my folder. The compilation fails before generating the report.html. The command below for the intermediate compilation also fails with the same output. I noticed that this command takes around 3 hours to be completed and the code does not exceed 1500 lines with comment included ( the Intel guide says that this command takes some minutes to complete). I can attach the "fft1dint.log" file.
aoc -c fft1dint.cl -report
About the Terasic support, it also works with 18.1. There were some issues with the BSP, such as a kernel module bug that I fixed, but finally it worked. I tested the BSP with both examples provided by Intel (hello_world and fft1d_offchip) and another opencl algorithm that I had. All the tests were ok.
Best Regards,
Federico