OpenCL platform ID is empty
I'm trying to use oneAPI, I followed the tutorial on Altera's YouTube channel, where I would have to install the following packages: OneAPI base toolkit and FPGA supporting DCP++/C++ Compile, I followed the steps as in the tutorial.
mkdir build
cd build
cmake .. -DPART=1
make fpga_emu
but when executing this last command it gives this error:
OpenCL platform ID is empty
OpenCL platform name is empty
Failed to find any of these OpenCL platforms:
Intel(R) FPGA Emulation Platform for OpenCL(TM)
Intel(R) FPGA Emulation Platform for OpenCL(TM) (preview)
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 14 (use -v to see invocation)
make[3]: *** [CMakeFiles/fpga_emu.dir/build.make:97: vector_add.fpga_emu] Error 14
make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/fpga_emu.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:92: CMakeFiles/fpga_emu.dir/rule] Error 2
make: *** [Makefile:124: fpga_emu] Error 2
How do I solve this? Give me the step by step, because the Intel documentation is lacking, how do I configure this open