-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Working on FreeBSD
xuijuthub edited this page Feb 20, 2025
·
2 revisions
raylib can be installed on FreeBSD with pkg (prebuiled binary package, recommended):
# pkg install raylib
or using the FreeBSD Ports Collection (building from source, if you want to modify the sources):
# cd /usr/ports/devel/raylib && make install clean
$ 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.
Simplest way, only needing to link the library:
$ gcc core_basic_window.c -lraylib -o core_basic_window
www.raylib.com | itch.io | GitHub | Discord | YouTube
- Architecture
- Syntax analysis
- Data structures
- Enumerated types
- External dependencies
- GLFW dependency
- libc dependency
- Platforms and graphics
- Input system
- Default shader
- Custom shaders
- Coding conventions
- Integration with other libs
- Working on Windows
- Working on macOS
- Working on GNU Linux
- Working on Chrome OS
- Working on FreeBSD
- Working on Raspberry Pi
- Working for Android
- Working for Web (HTML5)
- Working on exaequOS Web Computer
- Creating Discord Activities
- Working anywhere with CMake
- CMake Build Options
- raylib templates: Get started easily
- How To: Quick C/C++ Setup in Visual Studio 2022, GCC or MinGW
- How To: C# Visual Studio Setup
- How To: VSCode
- How To: Eclipse
- How To: Sublime Text
- How To: Code::Blocks