fmpwizard / go-cortex

Adding intelligence to your world https://blog.fmpwizard.com
53 stars 5 forks source link

undefined: openPort #1

Open KRens opened 8 years ago

KRens commented 8 years ago

Hi,

I get following error when downloading your code: pi@max2play ~/golang $ go get github.com/fmpwizard/go-cortex

github.com/huin/goserial

src/github.com/huin/goserial/serial.go:151: undefined: openPort src/github.com/huin/goserial/serial.go:151: not enough arguments to return

fmpwizard commented 8 years ago

sorry I just saw this ticket, when I wrote this I didn't apply any vendoring, so most likely goserial changed since I used it,

The last commit on goserial that I have on my laptop is:

Merge: fc6b24b 84ec7da
Author: Huin <greatred@gmail.com>
Date:   Fri Oct 12 00:36:15 2012 -0700

    Merge pull request #1 from chaos95/patch-1

    Fix build error in serial_windows.go

see if going back to that commit helps you compile the project.