Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi Victor,
There are two things you want to look for when currently compiling and linking with the Altera SDK for OpenCL: ldflags and ldlibs. Below are the ldflags and ldlibs for my Windows environment with a Bittware BSP. >> aocl ldflags /libpath:C:\altera\14.0\hld\board\bittware/windows64/lib /libpath:C:/altera/14.0/hld/host/windows64/lib >> aocl ldlibs alterahalmmd.lib altera_s5phq_mmd.lib alteracl.lib acl_emulator_kernel_rt.lib pkg_editor.lib libelf.lib acl_hostxml.lib Yours should be similar except replace the Bittware BSP directory with your Terasic equivalent, and likewise for the altera_s5phq_mmd.lib. Obviously it would be nicer if we supported the cl_khr_icd extension to OpenCL so things would be more seamless. We are working on improving such user experience features and appreciate your feedback.