Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Visual Studio precompiled header error #4796

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ramon-bernardo
Copy link
Contributor

@ramon-bernardo ramon-bernardo commented Sep 29, 2024

Pull Request Prelude

Changes Proposed

  • This resolves the error C1010: unexpected end of file while looking for precompiled header in Visual Studio. The issue occurred because the precompiled header was not included in the source file. As a temporary fix, if anyone has a better suggestion for resolving this.

image

@ramon-bernardo ramon-bernardo changed the title Fix precompiled header VS error Fix Visual Studio precompiled header error Sep 29, 2024
@ranisalt
Copy link
Member

Does including otpch.h in these files help?

@ramon-bernardo
Copy link
Contributor Author

Does including otpch.h in these files help?

The file is already included; it seems that Visual Studio gets confused due to its own config.
image

@ranisalt
Copy link
Member

Probably related to VS's inability to handle folders.

(Please please use CMake with VS)

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.

2 participants