Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klass <kissaki@posteo.de>2022-06-04 12:06:24 +0300
committerJan Klass <kissaki@posteo.de>2022-06-04 16:17:56 +0300
commit084f23ac36d0a8e0a9145e505733da0c544d5fff (patch)
tree5bb59008e6a376e1e4b03300bc1e9227a1b6beca
parentdd5df45313a937359285327f556557159bab758e (diff)
DOCS(winbuild): Add troubleshooting for missing MFC dependency
Although installing MFC is mentioned in setup_visual_studio.md, identifying where the header file is expected from is not obvious. A C++ environment may already be installed without MFC, where the VS setup docs may not be followed/opened before-hand.
-rw-r--r--docs/dev/build-instructions/build_static.md10
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.