Skip to content

How to compile FDTCC on a Mac with Apple Silicon chip? #1

@xiaoxuSYSU

Description

@xiaoxuSYSU

Hi:

I am trying to install FDTCC on my macbook pro but get the following error:

gcc-13 -Os -fopenmp -o ../bin/FDTCC FDTCC.o sacio.o -L/Users/.../sac/lib -lsac -lsacio -lm
ld: warning: ignoring file /Users/.../sac/lib/libsacio.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/.../sac/lib/libsac.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"_xapiir", referenced from:
_bpcc in FDTCC.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make: *** [FDTCC] Error 1

so, please tell me what I can Ido?
Thanks.

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