I just want to learn nim learning by doing. Unfortunately my first project uses 
the serial port. Therefore I wrote `requires "serial >= 1.1.2"` into my 
test.nimble file. Build the project with my ubuntu-nim-compiler (0.17.2) I got 
an error, same as described in 
[https://github.com/euantorano/serial.nim/issues/12](https://github.com/euantorano/serial.nim/issues/12)
 . Ok, I removed the ubuntu-nim and downloaded the latest version of nim, 
compiled it successfully. But compiling the serial module I stuck again, with 
this error: 
    
    
    ... Hint: epoll [Processing]
    ... Hint: serialstream [Processing]
    ... /home/woody/.nimble/pkgs/serial-1.1.2/serial/serialstream.nim(117, 17) 
Error: type mismatch: got <proc (s: Stream, buffer: pointer, bufLen: int): 
int{.gcsafe, locks: <unknown>.}> but expected 'proc (s: Stream, buffer: 
pointer, bufLen: int): int{.gcsafe.}'
    ... .raise effects differ
    
    
    Run

I have no idea what to do, please help!

Thanks, Mark 

Reply via email to