Forum Discussion
Compile and run a sample for FPGA
Hello! I installed the Intel oneAPI Base Toolkit on Ubuntu18.04 system. But when I compiled the sample for FPGA by the command line "make fpga_emu -f Makefile.fpga", the system reminded me like the picture below. And I have no idea about what happened, anyone can tell me how to solve it ?
14 Replies
- GouthamK_Intel
New Contributor
Hi,
Thanks for reaching out to us!
As your issue is related to FPGA, we have a dedicated forum for FPGA related issues.
We are redirecting this thread to FPGA Forum for faster response.
Have a Good day.
Thanks & Regards
Goutham
- lkx
New Contributor
Hello, thanks for your advice. I installed the FPGA followed the guidance given in the link, and when I run the command "./sys_check.sh", it reminded me to install OPAE, but I met another error (shown in the figure) when installing OPAE followed the command line. Besides, when I compile hardware using the FPGA, it still reminded me the same error. Can you give me an advice on how to solve it?
Thanks ahead!
- lkx
New Contributor
Hello, thanks for your advice. I installed the FPGA followed the guidance given in the link, and when I run the command "./sys_check.sh", it reminded me to install OPAE, but I met another error (shown in the figure) when installing OPAE followed the command line. Besides, when I compile hardware using the FPGA, it still reminded me the same error. Can you give me an advice on how to solve it?
Thanks ahead!
- KennyT_altera
Super Contributor
Try change ./src/CMakeLists.txt:target_link_libraries(complex_mult OpenCL sycl)
to ./src/CMakeLists.txt:target_link_libraries(complex_mult sycl)
- lkx
New Contributor
Sorry, I found I made a mistake on the board package. But when I change it into the correct path, it reminded me that the OS is unsupported like the figure, is that means that the Ubuntu 18.04 system is not suitable to install the OPAE? If not, how can I solve it?
Thanks ahead!
- KennyT_altera
Super Contributor
you may check the one API requirement here:
Thanks
- KennyT_altera
Super Contributor
Also, which version of OPAE that you were installing?
- lkx
New Contributor
Hello! Actually, I'm almost completely new to Linux, and I'm not very familiar to the system.
But I installed the oneAPI following the guidance, and before that, I mainly installed the GPU, and OpenCL offline Compiler, and some other basic instruments, like gcc, ecilipse and etc.
Actually, I must admit that I have no idea about the version of the OPAE because I just install it according to the error message (shown in the figure below) when run the command line "./sys_check.sh".
So you think what could I do to find and solve the problem. Thanks ahead!
- KennyT_altera
Super Contributor
Here are the system requirement:
Can you check if your system have this?
- KennyT_altera
Super Contributor
If you follow the user guide:
You don't need to check the OPAE version.
- KennyT_altera
Super Contributor
Not sure if you have update?
- KennyT_altera
Super Contributor
Not sure if you have update?
- KennyT_altera
Super Contributor
We do not receive any response from you to the previous question that we have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.