I’m trying to get a simple command line audio file player running on a Raspberry Pi. For that I set up a project using juce_core, juce_audio_devices, juce_audio_basics, juce_audio_formats and juce_events. juce_events is needed by juce_audio_devices according to the IntroJucer.
On Windows I was able to compile the project and play some audio file.
On Linux (Pi as well as Ubuntu) I get the following error message while linking:
Linking test build/intermediate/Debug/juce_events_88dd09a1.o: In function `juce::InternalMessageQueue::dispatchNextXEvent()': /home/pi/test/Builds/Linux/../../../juce/modules/juce_events/native/juce_linux_Messaging.cpp:169: undefined reference to `juce::juce_handleSelectionRequest(XSelectionRequestEvent&)' /home/pi/test/Builds/Linux/../../../juce/modules/juce_events/native/juce_linux_Messaging.cpp:171: undefined reference to `juce::juce_windowMessageReceive(_XEvent*)' collect2: ld returned 1 exit status make: *** [build/test] Error 1