RobLoach / RobLoach/raylib-lua-sol

mac os compiling error

Open
#36 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
120
Forks
22
Avg merge
50m
Merged PRs (30d)
1

Description

I started to compile on mac OS (el Capitan), and everything was going well until i ran cmake --build build.
It got to about %50 done, then it threw this error:

/Users/user/raylib-lua-sol/vendor/raylib/src/external/glfw/src/nsgl_context.h:38:10: fatal error:
'stdatomic.h' file not found
#include <stdatomic.h>
^
1 error generated.

How can i fix this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with cmake --build build on macOS, then inspect vendor/raylib/src/external/glfw/src/nsgl_context.h and the surrounding build configuration. Done means the project builds past the reported missing stdatomic.h error on the affected macOS setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.