Failed to clone 'lib/ntk'
Olá, @falkTX , aparentemente não existe mais o repo inicial. Anda é possivel construir essa aplicação ?
ubuntu@sleek-schnauzer:~/codes/non$ git submodule update --init Submodule 'lib/ntk' (git://git.tuxfamily.org/gitroot/non/fltk.git) registered for path 'lib/ntk' Cloning into '/home/ubuntu/codes/non/lib/ntk'... fatal: remote error: access denied or repository not exported: /gitroot/non/fltk.git fatal: clone of 'git://git.tuxfamily.org/gitroot/non/fltk.git' into submodule path '/home/ubuntu/codes/non/lib/ntk' failed Failed to clone 'lib/ntk'. Retry scheduled Cloning into '/home/ubuntu/codes/non/lib/ntk'... fatal: remote error: access denied or repository not exported: /gitroot/non/fltk.git fatal: clone of 'git://git.tuxfamily.org/gitroot/non/fltk.git' into submodule path '/home/ubuntu/codes/non/lib/ntk' failed Failed to clone 'lib/ntk' a second time, aborting
Saudações do Brasil!
I'm also having this same issue.
To add some info about this - it's pointing to the defunct non git repo.
I've tried to rebase it to a real copy of fltk with the following --
git submodule set-url lib/ntk https://github.com/fltk/fltk.git
cd lib/ntk
git checkout master
git config pull.rebase false
git pull
Which got me a little further. The trouble is that the version on non's defunct git repo counted on having waf configured to build it.
you can find the last ntk code here: https://github.com/falkTX/ntk
if you compile non-daw with gcc-11 append "std=c++14" to the CXXFLAGS, otherwise the sequencer will not build.
I've been struggling with this for a while. I've finally done it, so for those struggling to build, here's a concise guide for Ubuntu based distros:
Before starting, the usual:
sudo apt update && sudo apt upgrade -y
-
Download NON DAW and NTK: https://github.com/falkTX/non https://github.com/falkTX/ntk
-
Place the contents of ntk in to the /lib/ntk folder of Non.
-
Install dependencies for NTK:
sudo apt install clang python-is-python3 libx11-dev libfontconfig-dev libxft-dev libcairo2-dev libjpeg-dev
- Move into the lib/ntk folder and run:
./waf configure
./waf
sudo ./waf install
Ensure each stage says success, if not you may be missing a dependency.
- cd back to the master branch and install dependencies for NON:
sudo apt install libjack-dev liblo-dev libsndfile-dev liblrdf-dev lv2-dev ladspa-sdk liblilv-dev libsigc++-2.0-dev
- Run configure, build and install:
./waf configure
./waf
sudo ./waf install
If ./waf fails, try configuring again with this CXXFLAG:
export CXXFLAGS='--std=c++14'
./waf configure
And then build again.
- Run the desired software from terminal from the menu entries or command line:
non-daw
non-midi-mapper
non-mixer
non-mixer-noui
non-sequencer
non-session-manager
non-timeline
EDIT: You'll probably have to update the waf build system. Grab the latest version and replace "waf" in the root of the tree with it.