Skip to content

Issue while running on Apple silicon #324

Description

@oceanpenguin

Hello, after an error-free compile and install, the first time I try to compile a program with the libcs50 headers, I get this error:

cc     runoff.c   -o runoff
Undefined symbols for architecture arm64:
  "_get_int", referenced from:
      _main in runoff-d112e1.o
  "_get_string", referenced from:
      _main in runoff-d112e1.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [runoff] Error 1

Is there some reason this wouldn't be able to run on an arm64 mac?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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