Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
As you said, the Altera OpenCL SDK does not use the ICD loader. You instead have to link to the library instead. My guess is you are probably including the header, cl.h or cl.hpp, but you are forgetting the link flag for compilation. It should look something like this:
g++ -lOpenCL main.cpp
Regards, Smith