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 回复
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
