Skip to content

Apple M1 CPU compilation issue #27

@grijon

Description

@grijon

Hi.

I have modify you r script and use it to compile OPUS for OSX.
It has been compiled without any issues for x86_64 but when i try to compile for arm64 (new M1 CPU) there are some issue.

ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture arm64 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any suggestion how to compile it for M1 arm64?

build-libopus-osx.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions