Added note about C++11 features and clang.

master
JimmyDeemo 4 years ago
parent
commit
b3e2b5a36e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      Working-on-macOS.md

+ 2
- 0
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 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 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: Check otool one last time for the LC_VERSION_MIN_MACOSX version:

Loading…
Cancel
Save