mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-04 21:29:18 -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
|
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
|
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:
|
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)
|
..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
|
# Building Statically, so you can Run on Other Computers
|
||||||
|
|
||||||
Let me show you something cool.
|
Let me show you something cool.
|
||||||
|
|||||||
Reference in New Issue
Block a user