GMLC-TDC / helics-cli

HELICS Command Line Interface
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

helics-cli will not compile #28

Open 0t1s1 opened 4 years ago

0t1s1 commented 4 years ago

When following the instructions in the README to run nimble build, I receive the following error:

        ... /home/user/.nimble/pkgs/helics-#head/helics.nim(5390, 8) Error: type mismatch: got <string>
        ... but expected one of:
        ... proc `&`(x, y: string): string
        ...   first type mismatch at position: 2
        ...   missing parameter: y
        ... proc `&`(x: string; y: char): string
        ...   first type mismatch at position: 2
        ...   missing parameter: y
        ... proc `&`[T](x: T; y: seq[T]): seq[T]
        ...   first type mismatch at position: 2
        ...   missing parameter: y

This happens on both master and the v0.4.2 tag.

kdheepak commented 4 years ago

My bad. This is fixed in https://github.com/GMLC-TDC/helics.nim/commit/3dcc761eccf2946dd4ae0e41c91d1678993b9e16. You should be able to re-run nimble build and it should download the latest version of helics.nim.

kdheepak commented 4 years ago

I tested on my mac and it works as expected.

Screen Shot 2020-08-13 at 3 40 21 PM