Error when building Projucer for JUCE framework on an older Mac

280 Views Asked by At

I'm currently experiencing an issue while trying to build the Projucer on an older Mac running macOS 10.15.7 (Catalina). I do not have Xcode installed, so I'm attempting to build Projucer using CMake and the command-line tools.

I have ensured that I'm using the latest version of xcode-select and I've tried building Projucer inside a build folder at the root of my JUCE folder with the master and develop branches, but I keep getting the same error message:

ld: file too small (length=0) file 
 'CMakeFiles/juceaide.dir/__/__/__/modules/juce_gui_basics/juce_gui_basics.mm.o'
 for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [extras/Build/juceaide/juceaide_artefacts/Debug/juceaide] Error 1

make[1]: *** [extras/Build/juceaide/CMakeFiles/juceaide.dir/all] Error 2

make: *** [all] Error 2

Does someone already faced this issue? I would greatly appreciate any suggestions or workarounds to help me build Projucer and start my project.

0

There are 0 best solutions below