Skip to content

Conversation

@MadhukarMoogala
Copy link

Summary

This PR fixes the Windows x64 build by adding missing dependencies and WTL headers.

Problem

The project doesn't build out-of-the-box due to:

  1. Missing WTL headers
  2. Missing wil and detours dependencies
  3. C4995 deprecation error for DwmEnableComposition

Changes

  • Added vcpkg.json manifest for dependency management (detours, wil)
  • Added WTL 10 headers in Include/ folder
  • Fixed RegExp.vcxproj: added vcpkg include paths and ResourceCompile paths
  • Disabled C4995 warning for deprecated API
  • Updated README with build instructions

Build Instructions

  1. Clone with submodules: git clone --recursive
  2. Run: vcpkg install (or enable vcpkg in Visual Studio)
  3. Build with Visual Studio 2022 (Debug/Release x64)

Credits

Note

The WTLHelper submodule also needs similar include path updates for a complete build fix.

- Add vcpkg.json manifest with detours and wil dependencies
- Add WTL 10 headers from WTL-Wizard-VS2022 (Include/ folder)
- Fix RegExp.vcxproj: add vcpkg include paths, ResourceCompile paths
- Disable C4995 warning for deprecated DwmEnableComposition API
- Update README with detailed build instructions
- Add vcpkg_installed/ to .gitignore

Note: WTLHelper submodule also needs include path updates for complete build.

WTL headers source: https://github.com/allenk/WTL-Wizard-VS2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant