Skip to content

Building on M2 Mac #10

@Nickthegoatboy

Description

@Nickthegoatboy

I'm trying to build on an Apple Silicon Mac and I'm running into some errors that I think are related to the architecture. Curious if anyone else has run into something similar. Thanks in advance!

==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
> Making all for tweak PNRSender…
==> Preprocessing Tweak.x…
==> Compiling Tweak.x (arm64e)…
==> Linking tweak PNRSender (arm64e)…
ld: warning: -multiply_defined is obsolete
ld: warning: ignoring duplicate libraries: '-lc++'
ld: cpu type/subtype in slice (arm64e.old) does not match fat header (arm64e) in '/Users/user/theos/lib/libmryipc.dylib'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/user/sandbox/SIMLessPNRGateway/pnrsender/.theos/obj/debug/arm64e/PNRSender.dylib] Error 1
make[2]: *** [/Users/user/sandbox/SIMLessPNRGateway/pnrsender/.theos/obj/debug/arm64e/PNRSender.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [PNRSender.all.tweak.variables] Error 2```

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