Skip to content

Conversation

julien
Copy link
Contributor

@julien julien commented May 2, 2025

It seems that the only way to build on macOS (10.14+) is by updating glfw to 3.4.

Apparently, the last time glfw was updated, it was also to fix a macOS related issue: fc8f250

Here's what worked for me on macOS Sonoma Version 14.7.5 (23H527):

Rename the existing external/gflw directory to external/glfw-3.3

mv external/glfw external/glfw-3.3

Get glfw 3.4

git clone --branch 3.4 --depth 1 https://github.com/glfw/glfw.git external/glfw

Build

mkdir -p build
cd $_
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ../
cmake --build . --config Release

You should be able to open the resulting Bonzomatic.app or use the following command:

./Bonzomatic.app/Contents/MacOS/Bonzomatic

It seems that the only way to build on macOS (10.14+) is by updating glfw to 3.4.

*Apparently, the last time glfw was updated, it was also to fix a macOS related issue:
Gargaj@fc8f250ed3f602cba8e576413a95f61f757250c4*

Here's what worked for me on macOS Sonoma Version 14.7.5 (23H527):

Rename the existing `external/gflw` directory to `external/glfw-3.3`
```
mv external/glfw external/glfw-3.3
```

Get glfw 3.4
```
git clone --branch 3.4 --depth 1 https://github.com/glfw/glfw.git external/glfw
```

Build
```
mkdir -p build
cd $_
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ../
cmake --build . --config Release
```

You should be able to open the resulting Bonzomatic.app or use the
following command:

```
./Bonzomatic.app/Contents/MacOS/Bonzomatic
```
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.

1 participant