Juce as shared librarey on Linux Raspberry


I am using Juce as shared library. I used Projucer to generate Makefiles ( for LinuxMakefiles, xcode).
The shared library (libJuce.so ) is generated on raspberry pi using LinuxMakefile and I have but I got errors when linking in my application project.
I got some undefined references like :
undefined reference juce::AudioDeviceManager::AudioDeviceManager()
undefined reference to « juce::String::String(char const*) »

For infos, when I use xcode I was able to generale shared library for macos and library works well with my application.
And when I make nm -g libJuce.so | egrep AudioDeviceManager there is no symbol while the command nm libJuce.so | egrep AudioDeviceManager shows these missings symbols

Any ideas ?

Thank you


Are the other symbols ok, or could there be a general problem with your setup?
Also, did you include the juce_audio_devices module?

Just guessing at that stage given that information…


I have other missing references : undefined reference to « juce::String::~String() l
Modules are included .

I used the same setup with xcode and generated shared library that works fine.
Here is begenning of my AppConfig.h:
#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
#define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
#define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
#define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
#define JUCE_MODULE_AVAILABLE_juce_core 1
#define JUCE_MODULE_AVAILABLE_juce_cryptography 0
#define JUCE_MODULE_AVAILABLE_juce_data_structures 1
#define JUCE_MODULE_AVAILABLE_juce_events 1
#define JUCE_MODULE_AVAILABLE_juce_graphics 0
#define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
#define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
#define JUCE_MODULE_AVAILABLE_juce_opengl 0
#define JUCE_MODULE_AVAILABLE_juce_video 0



I resolved the problem and this comes from generated Makefiles.

in AppConfig I forced debug Flag