MSBuild not seeing detours.h header from vcpkg

E7ite's Avatar

E7ite

Jan 10, 2021 @ 08:03 PM

I am trying to build a Visual Studio 2019 solution on AppVeyor. It has a dependency of Microsoft Detours. I am using vcpkg to install detours which works correctly on my local machine. However, on the AppVeyor VM, after running vcpkg install detours and vcpkg integrate install, it does not detect the header files, and failling to compile, and I am not sure why.

Here is the GitHub pull request that is failing to compile.
https://github.com/e7ite/WaWDll/pull/6

Attached is a screenshot of the log of the AppVeyor build

Reply to this discussion

Internal reply

        No formatting (switch to Markdown)

        Already uploaded files

        • Capture.PNG 111 KB

          You can attach files up to 10MB

          If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

            Keyboard shortcuts

            Generic

            ? Show this help
            ESC Blurs the current field

            Comment Form

            r Focus the comment reply box
            ^ + ↩ Submit the comment

            You can use Command ⌘ instead of Control ^ on Mac