8000 Bulld not working on Mac due to error in "glad.h" · Issue #29 · cococry/leif · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bulld not working on Mac due to error in "glad.h" #29
Open
@RainerXE

Description

@RainerXE

To follow standard via "install-macos.h." The following error showed up at the gcc command:
"In file included from vendor/glad/src/glad.c:25:
vendor/glad/src/../include/glad/glad.h:89:10: fatal error: 'KHR/khrplatform.h' file not found
89 | #include <KHR/khrplatform.h>"

I fixed it by changing the glad.h file line 89
from: "#include </KHR/khrplatform.h>" to "#include <../KHR/khrplatform.h>

Hope this helps for others.

Rainer
PS: I have also attached the corrected file.
glad.h.zip

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

      0