Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Emulation Error - Hello World

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??

2 Replies