Skip to content

Fails to build on m1/big sur #8

@berkus

Description

@berkus
==> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions