Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

MacOS Support #4

Open
dimiro1 opened this issue Feb 13, 2015 · 8 comments
Open

MacOS Support #4

dimiro1 opened this issue Feb 13, 2015 · 8 comments

Comments

@dimiro1
Copy link

dimiro1 commented Feb 13, 2015

It appears that only works on linux.

$ go get github.com/dobyrch/termboy-go
# github.com/dobyrch/termboy-go/inputoutput
In file included from ../../dobyrch/termboy-go/inputoutput/keyboard.go:4:
./keyboard.h:7:10: fatal error: 'linux/kd.h' file not found
#include <linux/kd.h>
         ^
1 error generated.
@dobyrch
Copy link
Owner

dobyrch commented Feb 13, 2015

Yes, it uses some Linux-specific ioctl trickery to display graphics in text mode. Unfortunately I don't have anything running OS X to tinker with.

@dimiro1
Copy link
Author

dimiro1 commented Feb 13, 2015

You can use Termbox, it is cross platform.

@KendallPark
Copy link

+1 Having this issues too.

@dobyrch
Copy link
Owner

dobyrch commented Feb 14, 2015

This is a shot in the dark, but it might be worth checkout out the freebsd branch. If anyone knows more about getting this to work on a Mac I'd be happy to accept a pull request.

@dimiro1
Copy link
Author

dimiro1 commented Feb 14, 2015

@dobyrch The freebsd branch did not work. I will take a look at the code on the weekend.

go build github.com/dobyrch/termboy-go
# github.com/dobyrch/termboy-go/inputoutput
In file included from inputoutput/keyboard.go:4:
./keyboard.h:7:10: fatal error: 'sys/kbio.h' file not found
#include <sys/kbio.h>
         ^
1 error generated.

@ljlin
Copy link

ljlin commented Feb 15, 2015

Me,tooooooooooo. T_T

@jackwilsdon
Copy link

+1

@digithree
Copy link

bump

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants