nonoo / kappanhang

Remotely open audio channels and a serial port to an Icom RS-BA1 server (for ex. Icom IC-705 transceiver).
Other
152 stars 28 forks source link

osx support #20

Closed zeetabit closed 2 years ago

zeetabit commented 2 years ago

Is it possible to build it under osx system?

Have latest golang, installed libpulse by brew, but cannot find libpulse-dev for osx.

 go install github.com/nonoo/kappanhang
# github.com/nonoo/kappanhang
./audiostream.go:88:2: undefined: audio
./audiostream.go:137:15: undefined: audio
./audiostream.go:156:12: undefined: audio
./controlstream.go:135:44: undefined: audioSampleRate
./controlstream.go:136:20: undefined: audioSampleRate
./hotkeys.go:8:3: undefined: audio
./hotkeys.go:10:3: undefined: audio
./main.go:153:2: undefined: audio
./main.go:154:2: undefined: serialPort
./main.go:157:3: undefined: keyboard
./main.go:157:3: too many errors
nonoo commented 2 years ago

I haven't tested building on OSX.

Gruppio commented 1 year ago

@zeetabit Did you try with brew install pulseaudio ?

zeetabit commented 1 year ago

I tried now - same error. @Gruppio