Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I see multiple spaces in your environmental variables, is this because of bad copy/pasting? You can open a cmd shell and type "aocl" to see if it works. If it doesn't it means the environmental variables are incorrect. --- Quote End --- Dear HRZ, multiple spaces is due to copy/past, there is no multiple spaces in my batch file. set PATH=%ALTERAOCLSDKROOT%\bin;%PATH%;%ALTERAOCLSDKROOT%\host\windows64\bin;%AOCL_BOARD_PACKAGE_ROOT%\windows64\bin;%ALTERAOCLSDKROOT%\windows64\bin I type "aocl compile-config" in cmd shell. It works, but there is an error message(ERROR: Could not find the 'aocl' command when trying to execute 'aocl compile-config'.) in VS2010. I still can not build host program in VS2010. CMD SHELL: D:\Acer_temp\opencl_altera>aocl compile-config -IC:/intelFPGA_pro/17.0/hld/host/include D:\Acer_temp\opencl_altera> Thanks, Matt