Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.85 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.85 KB

1. Document


2. fltk_go source

  • Forked from pwiecz/go-fltk with commit hash 5313f8a5a643c8b4f71dabd084cefb9437daa8a7 rebased
  • A simple wrapper around the FLTK 1.4 library, a lightweight GUI library that allows creating small, standalone and fast GUI applications.

3. Usage

3.1. Dependencies

  • To build fltk_go, in addition to the Golang compiler, you also need a C++11 compiler,

  • GCC or Clang on Linux

  • MinGW64 on Windows

  • XCode on MacOS.

  • fltk_go comes with prebuilt FLTK libraries for some architectures (linux/amd64, windows/amd64), but you can easily rebuild them yourself, or build them for other architectures. To build the FLTK library for your platform, just run go generate from the root of the fltk_go source tree.

  • To run programs built with fltk_go, you will need some system libraries that are typically available on operating systems with a graphical user interface:

  • Windows: no external dependencies except mingw64 (msys2's mingw64 is recommended)

  • MacOS: no external dependencies

  • Linux (and other untested Unix systems): you will need:

  • X11

  • Xrender

  • Xcursor

  • Xfixes

  • Xext

  • Xft

  • Xinerama

  • OpenGL

3.2. Usage Example

example showcase

4. Resources