mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Improve readability
@ -75,6 +75,8 @@ If you'd like to use C instead:
|
||||
clang -I/w/raylib_build/raylib/release/osx -L/usr/local/lib -L/w/raylib_build/raylib/release/osx -lglfw -lraylib -framework GLUT -framework OpenGL -framework Cocoa my_app.c -o my_app
|
||||
````
|
||||
|
||||
Now running build.sh (After setting permissions appropriately) will compile your program!
|
||||
|
||||
Note that this may give you a CLITERAL error, which seems to be an issue in raylib.h: https://github.com/raysan5/raylib/blob/develop/src/raylib.h#L261
|
||||
|
||||
Simply comment out that section so that only this line is active:
|
||||
@ -84,8 +86,6 @@ Simply comment out that section so that only this line is active:
|
||||
..Or just don't use CLITERAL and use (Color){255,255,255,255} instead. (That would be all white)
|
||||
|
||||
|
||||
Now running build.sh (After setting permissions appropriately) will compile your program! No Xcode needed.
|
||||
|
||||
# Building Statically, so you can Run on Other Computers
|
||||
|
||||
Let me show you something cool.
|
||||
|
||||
Reference in New Issue
Block a user