(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 --helpfor options. You may need to adjust yourPATHand maybeLD_LIBRARY_PATHto run the executables. Everything gets built in a subdirectory named 'build' (andbuild/fluid). I used(sudo) waf installto install in/usr/local/ntkbut 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-fluidetc., header files are installed ininclude/ntk/FL.build/ntk-chthemecan be used to change the "theme" and color config.
- Ensure pkg-config can find
ntkexport 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
fltkassumptions with the AppImage.