diff --git a/Working-on-macOS.md b/Working-on-macOS.md index 32453ee..1f7045c 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -98,6 +98,8 @@ cp raylib/src/libraylib.a YOUR_PROJECTS_ROOT_FOLDER clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a my_app.c -o my_app ``` +Note: If you are compiling a C++ project, you will need to make sure your compiler supports C++11 standards. With clang you can enable this by passing `-std=c++11`, see https://clang.llvm.org/cxx_status.html for more details. + Check for warnings! This can tell you if a library you're linking to was not built for OSX 10.9, in which case you'll need to rebuild that too. Check otool one last time for the LC_VERSION_MIN_MACOSX version: