- If you are statically linking on Windows, you need these preprocessor defines:
- DWFTK_STATIC
- DWFTK_BUILD_EXPAT
- DWFCORE_STATIC
- DWFCORE_BUILD_ZLIB
- The Unicode Character set needs to be turned on.
- The multi-threaded DLL runtimes need to be used.
- If you are using Microsoft Visual Studio, you should set DisableSpecificWarnings=“4290”.
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)