corrode
corrode copied to clipboard
Install fails on Windows 10
happy and alex worked fine but the corrode install fails.
The Glorious Glasgow Haskell Compilation System, version 8.0.2
>cabal install
Resolving dependencies...
Configuring corrode-0.1.0.0...
Building corrode-0.1.0.0...
Failed to install corrode-0.1.0.0
Build log ( C:\Users\Dragonaire\AppData\Roaming\cabal\logs\corrode-0.1.0.0.log ):
Building corrode-0.1.0.0...
Preprocessing library corrode-0.1.0.0...
src\Language\Rust\Corrode\C.lhs:1:1: error:
File name does not match module name:
Saw: `Main'
Expected: `Language.Rust.Corrode.C'
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
corrode-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1
Log file: Building corrode-0.1.0.0... Preprocessing library corrode-0.1.0.0...
src\Language\Rust\Corrode\C.lhs:1:1: error:
File name does not match module name:
Saw: Main' Expected:
Language.Rust.Corrode.C'
cabal: Leaving directory '.'
Did you run the fixGitSymlinksForWindows.bat
script?
I got the same error and came here, totally forgetting that this is described just 2 lines up in the readme.
I did still had same problem