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

Build Input File (hzpch.h) Cannot be Found #689

Open
prodskimaya opened this issue Jan 5, 2025 · 0 comments
Open

Build Input File (hzpch.h) Cannot be Found #689

prodskimaya opened this issue Jan 5, 2025 · 0 comments

Comments

@prodskimaya
Copy link

Describe the bug

--WARNING: This bug may only be pertinent to the MacOS platform--
Whenever trying to compile the Hazel library, the compiler complains how it cannot find the hzpch.h file. I suspect that Hazel's premake5 build file is causing the issue. Specifically, this line:

Screenshot 2025-01-05 at 10 13 17 AM

The hzpch.h file is not in the project's root folder, but it's inside the source folder.

Screenshot 2025-01-05 at 10 15 23 AM

Once I changed that line of code in Hazel's premake5 file, the issue was fixed.

Screenshot 2025-01-05 at 10 13 28 AM

However, I'm not sure if this is an issue on Windows, and if this fix will affect the Windows build. If this fix doesn't cause any problems, I would be happy to open a pull request.

To Reproduce

Steps to reproduce the behavior:

  1. Build Hazel as normal

Expected behavior

The compiler to find hzpch.h file without issue.

Operating system: (please complete the following information)

  • OS: MacOS
  • Version: 15.1.1

Additional context

This may only be an issue on MacOS.

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

No branches or pull requests

1 participant