Trying to build some FPGA examples from the 'BaseKit-code-samples/DPC++Compiler/FPGA* directories, and they are looking for dpcpp.
In one case, FPGAExampleDesigns/gzip says to : 'mkdir build; cd build; cmake' , but it results in an error that it cannot find 'dpcpp'.
The FPGATutorials directory says to run :
### Example: Compiling for Emulation
1. Compile the design using the following command:
dpcpp -fintelfpga src/compile_flow.cpp -o a.fpga_emu -DFPGA_EMULATOR
2. Run the following command to verify the correctness of the program:
Again, cannot find dpcpp.
Thanks for any ideas,
- General Support
Thanks for reaching out to us.
Did you try sourcing the compiler? If not, please try sourcing it.
command : " source <instalation path>/inteloneapi/setvars.sh "
Please let us know if this resolves your issue.