Forum Discussion

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

compilation error (kernel32.lib) on Visual Stdio 2012

When I run the OpenCL 13.1 project on Visual Stdio 2012 on Terasic's DE5-Net board, the compilation error shows up: link : fatal error lnk1181: cannot open input file 'kernel32.lib'; no compilation error on Visual Stdio 2010.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Go into the Visual Studio linker settings and remove kernel32.lib from the library list. I'm guessing Microsoft removed that library or they moved it to a different location that isn't being referenced. This assumes you do not rely on anything that is contained in kernel32.lib