chilipeppr / serial-port-json-server

Serial Port JSON Server is a websocket server for your serial devices. It compiles to a binary for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port.
http://chilipeppr.com
GNU General Public License v2.0
323 stars 101 forks source link

src/github.com/johnlauer/goserial/serial.go:94: undefined: openPort #19

Open huangguozhen opened 7 years ago

huangguozhen commented 7 years ago

when i build crosscompile, it occurs src/github.com/johnlauer/goserial/serial.go:94: undefined: openPort

chilipeppr commented 7 years ago

I don't think this will crosscompile because serial ports are platform dependent. Better question is, what platform are you on and what platform are you crosscompiling for?

On Mon, Nov 14, 2016 at 9:59 PM, huangguozhen notifications@github.com wrote:

when i build crosscompile, it occurs src/github.com/johnlauer/ goserial/serial.go:94: undefined: openPort

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbVYY-4g2Ddu4wBxb3ir9yDlbbuVsks5q-UpDgaJpZM4KyKB- .