Skip to content

macOS x64 binary is compiled for arm64 #2

@D-a-n-i-l-o

Description

@D-a-n-i-l-o

runtimes/osx-x64/libraylib.dylib is an arm64 binary, not x64.

---> System.DllNotFoundException: Unable to load shared library '../bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: 
dlopen(../bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib, 0x0001): tried: '../bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64)))

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