Skip to content

Linker error arm64 MacOS #773

@Eric-Busch0

Description

@Eric-Busch0

I am getting a linker error when building Juce2CMake

Undefined symbols for architecture arm64:
  "juce::juce_compilationDate", referenced from:
      juce::Time::getCompilationDate() in libJucer2CMake_JUCE.a(juce_core.mm.o)
  "juce::juce_compilationTime", referenced from:
      juce::Time::getCompilationDate() in libJucer2CMake_JUCE.a(juce_core.mm.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Jucer2CMake/CMakeFiles/Jucer2CMake.dir/build.make:98: Jucer2CMake/Jucer2CMake] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:217: Jucer2CMake/CMakeFiles/Jucer2CMake.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

I do not see any mention that it is incompatible or any reason the symbol is missing. The code is present in JUCE.

I have freshly cloned FRUT and freshly cloned JUCE. I am not too sure what it could be.

Any guess?

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