Vsvars32.bat includes the following line: exist "%VCINSTALLDIR%ATLMFC\INCLUDE" set INCLUDE=%VCINSTALLDIR%ATLMFC\INCLUDE %INCLUDE%`. This path simply was not added to the VC Include directory by vsvars32.bat, so the header was not found during build. We eventually found the header atlbase.h in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\3\atlmfc\include. We fixed some paths with the following two commands: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>mklink /d atlmfc "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\3\atlmfc"Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\3\atlmfc\lib>mklink /d amd64 "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\3\atlmfc\lib\圆4 ![]() The error still occurred in our 圆4 project. With Visual Studio 2017 Community Edition, we installed “Visual C ATL support” and MFC and ATL support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |