mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Added note about C++11 features and clang.
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user