McMartin / FRUT

Building JUCE projects using CMake made easy
https://frut.readthedocs.io
GNU General Public License v3.0
432 stars 40 forks source link

Linker error arm64 MacOS #773

Open Eric-Busch0 opened 2 months ago

Eric-Busch0 commented 2 months ago

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?

MartyLake commented 2 months ago

Hello Eric, could you provide the version of JUCE that you cloned? Maybe it is too recent for the latest FRUT, which examples are for JUCE 7 so far.