Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThis is the result after I modified main.cpp and re-complied.
C:\Users\1705061\exm_opencl_hello_world_x64_windows\hello_world\bin>host.exe Querying platform for info: ========================== CL_PLATFORM_NAME = Intel(R) OpenCL CL_PLATFORM_VENDOR = Intel(R) Corporation CL_PLATFORM_VERSION = OpenCL 2.0 ERROR: CL_DEVICE_NOT_FOUND Location: ..\common\src\AOCLUtils\opencl.cpp:356 Query for number of devices failed The instruction mentioned "Link your host application to the libraries returned by the aocl linkflags utility command.", but didn't point out how to link... May I ask how to link the host.exe with libraries? This is the result after run "aocl linkflages". C:\Users\1705061\exm_opencl_hello_world_x64_windows\hello_world\bin>aocl linkflags /libpath:C:\intelFPGA\17.0\hld\board\s5_ref/windows64/lib /libpath:C:/intelFPGA/17.0/hld/host/windows64/lib altera_s5_ref_mmd.lib alteracl.lib acl_emulator_kern el_rt.lib pkg_editor.lib libelf.lib acl_hostxml.lib Thank you.