Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make on Mac? #12

Open
kortina opened this issue Aug 22, 2019 · 0 comments
Open

make on Mac? #12

kortina opened this issue Aug 22, 2019 · 0 comments

Comments

@kortina
Copy link

kortina commented Aug 22, 2019

Is this intended to work on macos, or only on unix?

I tried to make and got the following errors:

# github.com/msteffen/golang-time-tracker/pkg/watcher [github.com/msteffen/golang-time-tracker/pkg/watcher.test]
./watcher.go:16:2: const initializer unix.IN_CREATE | unix.IN_DELETE | unix.IN_MODIFY | unix.IN_MOVED_FROM | unix.IN_MOVED_TO | unix.IN_IGNORED is not a constant
./watcher.go:16:14: undefined: unix.IN_CREATE
./watcher.go:16:31: undefined: unix.IN_DELETE
./watcher.go:16:48: undefined: unix.IN_MODIFY
./watcher.go:17:3: undefined: unix.IN_MOVED_FROM
./watcher.go:17:24: undefined: unix.IN_MOVED_TO
./watcher.go:17:43: undefined: unix.IN_IGNORED
./watcher.go:23:2: const initializer unix.SizeofInotifyEvent + unix.NAME_MAX + 1 is not a constant
./watcher.go:23:17: undefined: unix.SizeofInotifyEvent
./watcher.go:375:39: undefined: unix.InotifyEvent
./watcher.go:375:39: too many errors
FAIL	github.com/msteffen/golang-time-tracker/pkg/watcher [build failed]
make[1]: *** [test] Error 2
make: *** [test] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant