non icon indicating copy to clipboard operation
non copied to clipboard

Failed to clone 'lib/ntk'

Open ChycoFWD opened this issue 3 years ago • 4 comments

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!

ChycoFWD avatar Jun 16 '22 05:06 ChycoFWD

I'm also having this same issue.

synthsncats avatar Jul 21 '22 03:07 synthsncats

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.

exedore6 avatar Feb 08 '23 16:02 exedore6

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.

arossato avatar Feb 10 '23 02:02 arossato

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
  1. Download NON DAW and NTK: https://github.com/falkTX/non https://github.com/falkTX/ntk

  2. Place the contents of ntk in to the /lib/ntk folder of Non.

  3. Install dependencies for NTK:

sudo apt install clang python-is-python3 libx11-dev libfontconfig-dev libxft-dev libcairo2-dev libjpeg-dev
  1. 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.

  1. 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
  1. 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.

  1. 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.

M0JXD avatar Mar 24 '24 18:03 M0JXD