IIRC on Raspberry Pi i had such linker errors while building with gcc.
Perhaps it is something like that.
Note that on Ubuntu it is supposed to compile fine.
You can try to build with clang:
make CXX=clang++
Or explicitly add the atomic library:
make LDFLAGS=-latomic
FYI.
I followed that blog in order to build the Projucer on my Raspberry Pi 4 (with Raspbian Buster).
After installed the recommended packages i tested without success the following command:
cd ~/JUCE/extras/Projucer/Builds/LinuxMakefile
make
Compiling jucer_NewProjectWizard.cpp
Compiling jucer_StartPageComponent.cpp
Compiling jucer_AutoUpdater.cpp
Compiling jucer_CommandLine.cpp
Compiling jucer_Main.cpp
In file included from /usr/include/c++/8/map:61,
from ../../../../mod…
dont know what i did lol now i got this
Linking TinyTable - Shared Code
Linking TinyTable - Standalone Plugin
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/…/…/…/arm-linux-gnueabihf/crt1.o: in function _start': (.text+0x34): undefined reference to main’
collect2: error: ld returned 1 exit status
make: *** [Makefile:119: build/TinyTable] Error 1
2 Likes