Skip to content

trouble with dependencies #12

@berkdi

Description

@berkdi

I'm trying to build this (hemokit-0.6.6.tar.gz from https://hackage.haskell.org/package/hemokit#readme ) project on Windows to get the raw data feed. I have no previous experience in neither haskell nor cabal.
installed pre-build .exe, plugged usb-receiver and connected epoc+, but no device found upon:

  • hemokit-dump
  • hemokit-dump --serial SN...GM (My serialN is EP20170108001BA0.. and usb receivers UDsomethingsomething)

as i understand from earlier posts the pre-build.exe built before vid&pid of 1234;ed02 beknown to writer, so I decided to compile and build the hemokit-dump myself as I believe there is no updated pre-build hemokit.exe.
installed haskell platform with ghci 8.2.1
installed cabal
updated cabal
tried to build homokit.cabal but received missing dependencies:

C:\Users\berkdi\Desktop\Neuroscience\BCI\hemokit-0.6.6>cabal build hemokit
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal
update' to download it.
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: hemokit-0.6.6 (user goal)
unknown package: split (dependency of hemokit-0.6.6)
fail (backjumping, conflict set: hemokit, split)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: hemokit, splitTrying configure anyway.
Configuring hemokit-0.6.6...
cabal: Encountered missing dependencies:
aeson >=0.6.1.0,
cipher-aes >=0.2.0,
conduit >=1,
deepseq-generics >=0.1,
hidapi >=0.1.2,
mtl >=2.1.2,
network-simple >=0.4.0.2,
optparse-applicative >=0.11,
pretty-show >=1.0,
split >=0.2.2,
vector >=0.9,
websockets >=0.8.0.0

installed all of them with updated versions, tried to install it all, starting from the simpliest indicating to not cause any inter-dependent problem.

  • text 0.11
  • primitive

succeeded but starting with vector, it started needing more dependencies and base 4.10 fails to configure, instead it gives:

<interactive>:1:19: error:
    Not in scope: `System.IO.hSetBuffering'
    No module named `System.IO' is imported.

<interactive>:1:43: error:
    Not in scope: `System.IO.stdin'
etc..etc..

Moreover I believe some of these missing dependencies are already in C:\Program Files\Haskell\Platform\8.2.1\lib but still giving "couldnt find module" error upon compiling
with WinGHC the same error happens. Trying to install it with "cabal install base" also makes the base 4.10 get rejected, giving

only already installed instances can be used

, If someone could help me I would appreciate greatly. I don't know what to do next...or previously what should have been done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions