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

Fails to build on m1/big sur #8

Open
berkus opened this issue Mar 21, 2021 · 0 comments
Open

Fails to build on m1/big sur #8

berkus opened this issue Mar 21, 2021 · 0 comments

Comments

@berkus
Copy link

berkus commented Mar 21, 2021

==> Installing cesanta/mos/mos
==> make mos
Last 15 lines from /Users/berkus/Library/Logs/Homebrew/mos/01.make:
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_06_build_vars_overriding/test_02_override_with_cli/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_06_build_vars_overriding/test_03_extend_with_cli/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_01_app_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_02_lib_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_03_lib_and_app_conds_add_same_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_04_lib_conds_recursive/libs
go version go1.16.2 darwin/arm64
GOOS= GOARCH= CC= CXX= \
	  go build -mod=vendor -tags '' -ldflags '-s -w ''' -o mos github.com/mongoose-os/mos/cli
# github.com/cesanta/hid
vendor/github.com/cesanta/hid/hid_darwin.go:6:10: fatal error: 'IOKit/hid/IOHIDManager.h' file not found
#include <IOKit/hid/IOHIDManager.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build-mos] Error 2

Looks like a problem on big sur/m1 as IOHIDManager.h only exists in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/hid/IOHIDManager.h

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