Hi, I am trying to run the hello world design example downloaded from Altera using the emulator on Windows 8.1 with Visual Studio 2015. When I try to run "aoc -march=emulator -v device/hello_world.cl -o bin/hello_world_emulation.aocx", i get the linker error regarding to "kernel32.lib".By referring to this thread, https://www.alteraforum.com/forum/showthread.php?t=46646 I somehow fix the error by manually added additional path (C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64) to LIB environment variable. But, i still get the error: "Linker Failed" This is the output i get from my "hello_world.log" file: LINK : fatal error LNK1104: cannot open file 'ucrt.lib' It is possible cause by I didn't manage to run the "äocl_diagnose" successfully??
Hi JuneVS2015 is not part of the supported version for OpenCL SDK, and the aocl diagnose is only neded when you are running with the actual hardware, this command to not impact compilation. https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_getting_started.pdf Regards, CloseCL (This message was posted on behalf of Intel Corporation)
SW prerequisites from getting started guide: "For Windows systems, use Microsoft Visual Studio Professional version 2010 orlater". I had exactly the same issue and the solution was "Kernel32.lib" file is located in "X:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64" directory and this is the directory you have to add to LIB variable. (This is from another thread: http://www.alteraforum.com/forum/showthread.php?t=46646). It is either I am missing something or documentation requires improvement