Skip to content

Undefined symbols for x86_64 on macOS 14.4 #782

@BurmeseJoe323

Description

@BurmeseJoe323

Following the instructions from the README, I ran into this error:

cmake --build . --target install
[ 6%] Built target Jucer2CMake_JUCE
[ 10%] Linking CXX executable Jucer2CMake
Undefined symbols for architecture x86_64:
"juce::juce_compilationDate", referenced from:
juce::Time::getCompilationDate() in libJucer2CMake_JUCE.a[2](juce_core.mm.o)
"juce::juce_compilationTime", referenced from:
juce::Time::getCompilationDate() in libJucer2CMake_JUCE.a[2](juce_core.mm.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Jucer2CMake/Jucer2CMake] Error 1
make[1]: *** [Jucer2CMake/CMakeFiles/Jucer2CMake.dir/all] Error 2
make: *** [all] Error 2

This looks somewhat similar to issue #742, which was resolved. I am currently on JUCE 8.0.7. How can I fix this issue? 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