trying to install tidal on a windows 10 lenovo laptop and I get this error message:
Failed to build network-3.1.1.1 (which is required by tidal-1.4.9).
See the build log above for details.
This is the log:
C:\WINDOWS\system32>cabal install tidal
Resolving dependencies...
Build profile: -w ghc-8.10.1 -O1
In order, the following will be built (use -v for more details):
Ah, this is a bug in Haskell, which will hopefully be fixed in the next version. Basically it can't cope with spaces in file paths.
A workaround is creating a folder without spaces like c:\tidal, and copying the BootTidal.hs file there. Then in atom, go to edit > preferences > packages TidalCycles > settings and change the BootTidal.hs path to C:\tidal\BootTidal.hs there. That should fix that.
However maybe the Tidal library still isn't installed, due to this error with the network library..
Thanks for explaining. I have created a c:\tidal folder and put the BootTidal.hs there. Also told Atom this boot path. After checking if the tidal library was installed I got this error message
cabal.exe: Failed to build network-3.1.1.1 (which is required by tidal-1.5.0).
See the build log above for details.
Resolving dependencies...
Build profile: -w ghc-8.10.1 -O1
In order, the following will be built (use -v for more details):
Failed to build network-3.1.1.1. The failure occurred during the configure
step.
Build log ( C:\Users\Moi
Ici\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-3d4d12ff250f7809f8fb1b66d00b9b19689c1bdc.log
):
Configuring network-3.1.1.1...
cabal.exe: The package has a './configure' script. If you are on Windows, This
requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If you
are not on Windows, ensure that an 'sh' command is discoverable in your path.
Thanks, @yaxu. Ran this code and it gives me a "cannot handle space in path" error again. Maybe I should rename the user name to ensure space-free filepaths in the future?
i know that for my (sorta recent) install on Windows 10, i had to use Cygwin to run all the inital command line stuff. not sure if anything's changed since then...
the Cygwin application worked like a charm. surprisingly very simple and not frustrating just download the application and then do anything you'd normally do in the terminal/command prompt window.
Thanks @kit-christopher, that's precisely the point where my wits left me last time around. Where can download the app, please? I just tried and lots of weird things happend including opera starting by itself telling me to test a free vpn and a fast adblocker in my browser....So I'd be grateful for a safe link to cygwin installer for a windows 10 64 . Thanks*st
Hi @yaxu, created a new user, installed Atom, Supercollider, Haskell and Tidal. When running cabal install tidal it seems to install successfully. When attempting to play a sound in Atom I now receive the error message below. I don't think I've installed Haskell twice. What could I try now?
Thank you,
*st
t>: error:
Could not find module `Sound.Tidal.Context'
It is not a module in the current program, or in any known package.
Variable not in scope: d1 :: t0 -> t
* Variable not in scope: sound :: [Char] -> t0
* Perhaps you meant `round' (imported from Prelude)
I think it was the problem where haskell can't cope with folders with spaces in. The work around is to copy BootTidal.hs to e.g. c:\tidal and change the setting in the atom TidalCycles package to point there