Skip to content
Discussion options

You must be logged in to vote

The log points to the vcpkg manifest restore happening too late for the first C++ module pass.

In both matrix jobs, the first real failures are:

  • TorrentMetadataFetcher.ixx: libtorrent/fwd.hpp not found
  • Aria2Models.ixx / Aria2Helpers.ixx: nlohmann/json.hpp not found

Those dependencies are in OpenNet/vcpkg.json, and OpenNet.vcxproj has VcpkgEnableManifest=true, so vcpkg is being picked up. But in the failed run the order is roughly:

  1. MSVC starts scanning/compiling .ixx files with an include path like OpenNet\vcpkg_installed\arm64-windows\arm64-windows\include.
  2. The headers are not there yet, so the scan emits C1083 and then MSB8074 for the module dependency files.
  3. Only after that, MSBuild …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hoshiizumiya
Comment options

@sylveon
Comment options

Answer selected by hoshiizumiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants