添 加环境 变量
INCLUDE
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
LIB
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x86
path中添 加了
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
修 改新项目 ,需要app.manifest
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />、
最后改了那么多环境变量,好像还得把vs关掉重新开才能生效。