Skip to content

Add missing header, compilation instructions for MacOS#424

Open
auxeon wants to merge 1 commit intoOneLoneCoder:masterfrom
auxeon:master
Open

Add missing header, compilation instructions for MacOS#424
auxeon wants to merge 1 commit intoOneLoneCoder:masterfrom
auxeon:master

Conversation

@auxeon
Copy link

@auxeon auxeon commented Mar 3, 2026

Added compilation instructions to contributions/README.md

  • install libpng using homebrew
brew install libpng
  • use the below compilation flags for MacOS
clang++ olcExampleProgram.cpp -I/opt/homebrew/opt/libpng/include -L/opt/homebrew/opt/libpng/lib -framework OpenGL -framework GLUT -framework Cocoa -lpthread -lpng -std=c++20

Working application executable screenshot
Screenshot 2026-03-03 at 3 04 05 AM

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