1.If you use the Quartus Prime 17.1 or 18 .
Please don't use Terasic's DE10-Nano OpenCL BSP.
There BSP only support Quartus 16.X.
The Kernel or Host compile use 17.1 cannot run on the SOC use Terasic 16.X BSP Images.
2.If you insist to use Terasic 16.X BSP then
you need to use Quartus 16.x and also need to apply for OpenCL License. (I don't know if it still can apply now)
3.The Quartus Prime 17.1 Windows version. aocl has some problem
It get the compile and linkage information, incorrectly .
So the make file won't work under Windows.
But it works on Linux version.
4.My suggestion is use the BSP from thinkoco@github
you can compile your host code direct on SOC instead of cross compile on PC.
And it support video or x2go.