diff options
author | Robert Adam <dev@robert-adam.de> | 2022-06-05 21:42:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 21:42:18 +0300 |
commit | 414ab61b61b0d446eccba1c60dcad7c158a7c701 (patch) | |
tree | 8bed0ece4dd6a0728593dee3d8ffe4fa5a5d7d43 | |
parent | 84bfd8d3328abc4fda25b08014635df0ce694917 (diff) | |
parent | 084f23ac36d0a8e0a9145e505733da0c544d5fff (diff) |
Merge PR #5716: DOCS(winbuild): Add troubleshooting for missing MFC dependency
-rw-r--r-- | docs/dev/build-instructions/build_static.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/build-instructions/build_static.md b/docs/dev/build-instructions/build_static.md index d551cde95..9ec7a5e82 100644 --- a/docs/dev/build-instructions/build_static.md +++ b/docs/dev/build-instructions/build_static.md @@ -247,3 +247,13 @@ CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:173 (message): Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issue ``` Ref: https://github.com/microsoft/vcpkg/issues/13217 + +### `afxres.h` not found + +When installing the dependency zlib via vcpkg, it may fail to locate the include file `afxres.h` (when building its mdnsresponder dependency). + +``` +dll.rc(10): fatal error RC1015: cannot open include file 'afxres.h'. [[…]\vcpkg\buildtrees\mdnsresponder\src\ponder-878-e7e3a9a271.clean\mDNSWindows\DLL\dnssd.vcxproj] +``` + +To resolve this, ensure MFC has been installed in your Visual Studio installation. |