Article From:https://www.cnblogs.com/MarsMercury/p/9971141.html

Add environment variables
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

pathAdded
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

Modifying the new project requires app. manifest
<requestedExecutionLevel level=”requireAdministrator” uiAccess=”false” />、

 

Finally, so many environmental variables have been changed that it seems that the vs has to be turned off and restarted before it can take effect.

Leave a Reply

Your email address will not be published. Required fields are marked *