FRUT icon indicating copy to clipboard operation
FRUT copied to clipboard

Linker error arm64 MacOS

Open Eric-Busch0 opened this issue 5 months ago • 1 comments

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?

Eric-Busch0 avatar Sep 14 '24 19:09 Eric-Busch0