(adapted from Albrecht Schlosser)
- Install dependencies:
sudo apt-get install \ fontconfig \ libxft-dev \ libcairo2-dev \ libjpeg-dev \ freeglut3-dev
- Clone falktx's mirror (for now):
git clone https://github.com/falkTX/ntk
- Configure
ntk
:./waf configure --prefix=/usr/local/ntk --enable-debug --enable-gl
- Build
ntk
./waf build
- Install (:warning: WARNING: This will install ntk system-wide!)
sudo ./waf install
Note: Albrecht Schlosser wrote: I believe you need python3 to build (using
waf
) but I'm not sure, I didn't test with python2. Usewaf --help
for options. You may need to adjust yourPATH
and maybeLD_LIBRARY_PATH
to run the executables. Everything gets built in a subdirectory named 'build' (andbuild/fluid
). I used(sudo) waf install
to install in/usr/local/ntk
but you may want to install in default (system) locations as well (if you like it and dare to do it). It's pretty well separated from an FLTK installation (no guarantee) - fluid is namedntk-fluid
etc., header files are installed ininclude/ntk/FL
.build/ntk-chtheme
can be used to change the "theme" and color config.
- Ensure pkg-config can find
ntk
export PKG_CONFIG_PATH="/usr/local/ntk/lib/pkgconfig/"
- Edit LMMS source: https://github.com/LMMS/lmms/compare/master...tresf:lmms:ntk
- TODO: I don't the packaging will work due to some
fltk
assumptions with the AppImage.