Cannot Open include file: 'wil/Common.h': No Such File Or Directory #753

Closed
opened 2026-01-30 22:02:31 +00:00 by claunia · 8 comments
Owner

Originally created by @harrycorrigan on GitHub (May 7, 2019).

This bug-tracker is monitored by Windows Console development team and other technical types. We like detail!

If you have a feature request, please post to the UserVoice.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

  • Your Windows build number: (Type ver at a Windows Command Prompt)

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

  • What's wrong / what should be happening instead:

Originally created by @harrycorrigan on GitHub (May 7, 2019). This bug-tracker is monitored by Windows Console development team and other technical types. **We like detail!** If you have a feature request, please post to [the UserVoice](https://wpdev.uservoice.com/forums/266908). > **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible * Your Windows build number: (Type `ver` at a Windows Command Prompt) * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) * What's wrong / what should be happening instead:
claunia added the Resolution-Answered label 2026-01-30 22:02:31 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 7, 2019):

Please read the README.

git submodule update --init --recursive

@zadjii-msft commented on GitHub (May 7, 2019): Please read the README. `git submodule update --init --recursive`
Author
Owner

@komatera commented on GitHub (May 7, 2019):

Microsoft Windows [Version 10.0.17763.437]
Trying to compile in VS2017 via pressing the button.
wil/Common.h: No such file or directory 18 times.

@komatera commented on GitHub (May 7, 2019): Microsoft Windows [Version 10.0.17763.437] Trying to compile in VS2017 via pressing the button. wil/Common.h: No such file or directory 18 times.
Author
Owner

@komatera commented on GitHub (May 7, 2019):

Please read the README.

git submodule update --init --recursive

It DOESNT help!

@komatera commented on GitHub (May 7, 2019): > Please read the README. > > `git submodule update --init --recursive` It DOESNT help!
Author
Owner

@Rowdster commented on GitHub (May 7, 2019):

Please read the README.

git submodule update --init --recursive

How do we properly "git" this project?

C:\Projects\Terminal-master>git fetch https://github.com/microsoft/Terminal.git
fatal: not a git repository (or any of the parent directories): .git

@Rowdster commented on GitHub (May 7, 2019): > Please read the README. > > `git submodule update --init --recursive` How do we properly "git" this project? C:\Projects\Terminal-master>git fetch https://github.com/microsoft/Terminal.git **fatal: not a git repository (or any of the parent directories): .git**
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2019):

it looks like you downloaded the source by choosing “download ZIP.” That will never work as a git repository.

Please clone the repository using “git clone”.


From: RogueCoder notifications@github.com
Sent: Tuesday, May 7, 2019 2:05:38 PM
To: microsoft/Terminal
Cc: Subscribed
Subject: Re: [microsoft/Terminal] Cannot Open include file: 'wil/Common.h': No Such File Or Directory (#513)

Please read the README.

git submodule update --init --recursive

How do we properly "git" this project?

C:\Projects\Terminal-master>git fetch https://github.com/microsoft/Terminal.githttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal.git&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=zz7keXXKBpuXBdCQ6VOkgzq1bFXi4TnHsnvJ8yegJqM%3D&reserved=0
fatal: not a git repository (or any of the parent directories): .git

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal%2Fissues%2F513%23issuecomment-490255026&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=xACZR3ZBgE2%2Fo%2Fxlvd8W4qFj1vP5joCfCt96WyeQgtM%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADNHLGT6H2CD3JH7H5KBMJ3PUHVKFANCNFSM4HLJXHDQ&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=8N1jkYbX%2FBf7ahzsBEzfHe9ed%2FSe0W389JdavpphgrI%3D&reserved=0.

@DHowett-MSFT commented on GitHub (May 7, 2019): it looks like you downloaded the source by choosing “download ZIP.” That will never work as a git repository. Please clone the repository using “git clone”. ________________________________ From: RogueCoder <notifications@github.com> Sent: Tuesday, May 7, 2019 2:05:38 PM To: microsoft/Terminal Cc: Subscribed Subject: Re: [microsoft/Terminal] Cannot Open include file: 'wil/Common.h': No Such File Or Directory (#513) Please read the README. git submodule update --init --recursive How do we properly "git" this project? C:\Projects\Terminal-master>git fetch https://github.com/microsoft/Terminal.git<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal.git&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=zz7keXXKBpuXBdCQ6VOkgzq1bFXi4TnHsnvJ8yegJqM%3D&reserved=0> fatal: not a git repository (or any of the parent directories): .git — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal%2Fissues%2F513%23issuecomment-490255026&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=xACZR3ZBgE2%2Fo%2Fxlvd8W4qFj1vP5joCfCt96WyeQgtM%3D&reserved=0>, or mute the thread<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADNHLGT6H2CD3JH7H5KBMJ3PUHVKFANCNFSM4HLJXHDQ&data=01%7C01%7Cduhowett%40microsoft.com%7Ce0e63587f0194aac841208d6d32fc1c5%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=8N1jkYbX%2FBf7ahzsBEzfHe9ed%2FSe0W389JdavpphgrI%3D&reserved=0>.
Author
Owner

@HelloWorDomain commented on GitHub (May 8, 2019):

I get the same Error,I will try to git clone

@HelloWorDomain commented on GitHub (May 8, 2019): I get the same Error,I will try to git clone
Author
Owner

@josephwinston commented on GitHub (May 9, 2019):

Another note. The included files have one case while the #include uses a different one.

eg

src/propsheet/precomp.h:#include <wil/Common.h>
src/terminal/adapter/MouseInput.cpp:#include <wil\Common.h>
src/terminal/input/terminalInput.cpp:#include <wil\Common.h>
src/tools/buffersize/main.cpp:#include <wil\Common.h>
src/tools/echokey/main.cpp:#include <wil\Common.h>
src/tools/vtpipeterm/main.cpp:#include <wil\Common.h>
find . -iname common.h
./dep/wil/include/wil/common.h
./dep/wil/tests/common.h
@josephwinston commented on GitHub (May 9, 2019): Another note. The included files have one case while the #include uses a different one. eg ``` src/propsheet/precomp.h:#include <wil/Common.h> src/terminal/adapter/MouseInput.cpp:#include <wil\Common.h> src/terminal/input/terminalInput.cpp:#include <wil\Common.h> src/tools/buffersize/main.cpp:#include <wil\Common.h> src/tools/echokey/main.cpp:#include <wil\Common.h> src/tools/vtpipeterm/main.cpp:#include <wil\Common.h> ``` ``` find . -iname common.h ./dep/wil/include/wil/common.h ./dep/wil/tests/common.h ```
Author
Owner

@do5rsw commented on GitHub (Jun 25, 2019):

compling worked here after doing:

  • git clone
  • git submodule update --init --recursive
  • open Solution in VC2019
  • Restore NuGET Packages to Project

Thus the compiled application don't start....

@do5rsw commented on GitHub (Jun 25, 2019): compling worked here after doing: - git clone - git submodule update --init --recursive - open Solution in VC2019 - Restore NuGET Packages to Project Thus the compiled application don't start....
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#753