I'm totally new to installing programs via Powershell and have had some trouble getting TidalCycles to work.
After installing through Automatic installation I had trouble booting TidalCycles from Atom. It came up with:
error: Could not find module `Sound.Tidal.Context' It is not a module in the current program, or in any known package.
After finding this issue I went to the troubleshoot page and followed the instructions in order. To begin with, I don't believe Haskell was fully installed so followed the installation process here: GHCup. I actually ended up following this process twice as I had tried to uninstall Haskell and other Tidal programs to start again today - I'm not sure if that could also be causing a problem.
Anyway, GHCI returned with a version number after this, so I ran this command suggested.
ghci> import Sound.Tidal.Context <no location info>: error: Could not find module `Sound.Tidal.Context' It is not a module in the current program, or in any known package.
Same error as in Atom. So I need to install the Tidal library again.
I perform cabal v2-update with no errors.
Then I got stuck here:
C:\Users\caleb>cabal new-install tidal --lib Resolving dependencies... Build profile: -w ghc-9.2.1 -O1 In order, the following will be built (use -v for more details): - network-22.214.171.124 (lib:network) (requires build) - hosc-0.19.1 (lib) (requires build) - tidal-1.7.8 (lib) (requires build) Starting network-126.96.36.199 (all, legacy fallback) Failed to build network-188.8.131.52. The failure occurred during the configure step. Build log ( C:\cabal\logs\ghc-9.2.1\network-184.108.40.206-ac6adcfc0ca9db361f8b37d5f2d5756e8a3744e3.log ): Configuring network-220.127.116.11... 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. cabal.exe: Failed to build network-18.104.22.168 (which is required by tidal-1.7.8). See the build log above for details.
The error suggests getting a hold of MinGW+MSYS which installed during my full Haskell installation. I also installed all the packages for MinGW+MSYS here: Installing MinGW & MSYS on Windows - Genome Analysis Wiki
However, every time I run 'cabal V2-Install tidal' (or cabal new-install tidal --lib) I still run into the same error, and I'm not really sure where to go from here. I'm guessing my Haskell install doesn't work properly for some reason?