+
Skip to content

Issue while running on Apple silicon #324

@oceanpenguin

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?

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载