Altera_Forum
Honored Contributor
11 years agoEmulate OpenCL Kernel on windows - 'env' is not found
Hi,
I am running the emulation of hello_world example under windows 64bit. While I can't find "env". Is that a binary executable file of Altera opencl sdk or a generated file from previous steps? In details: I managed successfully to execute the command "aoc -v -march=emulator hello_world.cl", After that, I compiled the hello_world host program with Visual Studio. But, when I try to run the command "env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=s5_ref hello_world", I get the following error message: 'env' is not recognized as an internal or external command, operable program or batch file. Could you help me to find a solution to this problem? Thanks and Regards, Michael