Skip to content

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

@prodskimaya

Description

@prodskimaya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions