Difference between revisions of "FreeBSD"
From uGFX Wiki
(→Dependencies) |
|||
Line 7: | Line 7: | ||
* <code>[https://www.freshports.org/devel/gmake/ devel/gmake]</code> | * <code>[https://www.freshports.org/devel/gmake/ devel/gmake]</code> | ||
* <code>[https://www.freshports.org/devel/sdl2 devel/sdl2]</code> | * <code>[https://www.freshports.org/devel/sdl2 devel/sdl2]</code> | ||
+ | |||
+ | = Makefile = | ||
+ | A sample Makefile can be found under <code>/boards/base/FreeBSD-SDL/example/Makefile</code>. Copy it to your project directory. |
Revision as of 00:00, 24 September 2021
µGFX can be compiled into native FreeBSD applications. This is especially useful for developing µGFX applications on a Desktop machine. The SDL2 library is used to spawn a desktop window. Mouse & keyboard inputs are supported.
Dependencies
The following dependencies are required:
- GCC (eg.
lang/gcc10
,lang/gcc11
-
devel/gmake
-
devel/sdl2
Makefile
A sample Makefile can be found under /boards/base/FreeBSD-SDL/example/Makefile
. Copy it to your project directory.