mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-29 18:29:18 -05:00
Updated Working on FreeBSD (markdown)
@ -11,3 +11,27 @@ or using the FreeBSD Ports Collection (building from source, if you want to modi
|
|||||||
```console
|
```console
|
||||||
# cd /usr/ports/devel/raylib && make install clean
|
# cd /usr/ports/devel/raylib && make install clean
|
||||||
```
|
```
|
||||||
|
## Resulting files
|
||||||
|
```
|
||||||
|
$ pkg info -l raylib
|
||||||
|
raylib-5.5:
|
||||||
|
/usr/local/include/raylib.h
|
||||||
|
/usr/local/include/raymath.h
|
||||||
|
/usr/local/include/rlgl.h
|
||||||
|
/usr/local/lib/cmake/raylib/raylib-config-version.cmake
|
||||||
|
/usr/local/lib/cmake/raylib/raylib-config.cmake
|
||||||
|
/usr/local/lib/libraylib.so
|
||||||
|
/usr/local/lib/libraylib.so.5.5.0
|
||||||
|
/usr/local/lib/libraylib.so.550
|
||||||
|
/usr/local/libdata/pkgconfig/raylib.pc
|
||||||
|
/usr/local/share/licenses/raylib-5.5/LICENSE
|
||||||
|
/usr/local/share/licenses/raylib-5.5/ZLIB
|
||||||
|
/usr/local/share/licenses/raylib-5.5/catalog.mk
|
||||||
|
```
|
||||||
|
Lets you know of cmake files made available.
|
||||||
|
# Building an example
|
||||||
|
Simplest way, only needing to link the library:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gcc core_basic_window.c -lraylib -o core_basic_window
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user