mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Wrapped the compile command in code tags so it is easier to see and understand
@ -96,7 +96,7 @@ You may do the otool check with the file in raylib/src/libs/osx/libraylib.a here
|
||||
copy raylib/src/libs/osx/libraylib.a to your project.
|
||||
|
||||
4. Build your project!
|
||||
clang -framework OpenAL -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a libglfw3.a my_app.c -o my_app
|
||||
`clang -framework OpenAL -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libraylib.a libglfw3.a my_app.c -o my_app`
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user