编辑这个文件
C:UsersxpyAppDataLocalMicrosoftMSBuildv4.0Microsoft.Cpp.Win32.user.props和Microsoft.Cpp.x64.user.props,分别是32位和64位的配置
形如:
<IncludePath>H:softwareprogrammingopencv_msvcopencvuildincludeopencv2;H:softwareprogrammingopencv_msvcopencvuildinclude;$(IncludePath)</IncludePath>
<LibraryPath>H:softwareprogrammingvideo_streamffmpeg_devlib;H:softwareprogrammingvideo_streamSDL2-2.0.12vclib;$(LibraryPath)</LibraryPath>
每个环境变量之间用分号隔开,放在$(includePath)前面;
上面的是包含路径,下面是库路径