JUCE for ARM Linux



Hi, All.
I am a new engineer for LINUX, i develop JUCE applications on windows.
this time, i want to porting my windows application to arm linux.
There were problems at the beginning:
step 1: install projucer and generated one GUI application for codeblock IDE, then build it, it was ok, and i can see the classical “Hello world” dialog;
step 2: install yocto SDK;
step 3: add the gcc toolchain and change the paths to yocto tools directory on codeblock;
step 4: select arm gcc for current application, then re-build,
but it is fail, can not find the nomally head files, memory.h, cmath.h …, anybody can tell me, what is happend, miss any install? here is my build log:

include -c ../../JuceLibraryCode/include_juce_audio_basics.cpp -o obj/Debug/app/NP7CMD/JuceLibraryCode/include_juce_audio_basics.o
In file included from /home/db/work/JUCE/modules/juce_core/juce_core.h:178:0,
                 from /home/db/work/JUCE/modules/juce_audio_basics/juce_audio_basics.h:52,
                 from /home/db/work/JUCE/modules/juce_audio_basics/juce_audio_basics.cpp:32,
                 from ../../JuceLibraryCode/include_juce_audio_basics.cpp:9:
/home/db/work/JUCE/modules/juce_core/system/juce_StandardHeader.h:46:18: fatal error: memory: No such file or directory
 #include <memory>
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))


I have found the reason.
add toolchain head files path to the project, and modify
#include <memory>
#include <memory.h>
it is ok now. But i dont know, why the
#include <memory>
can’t be recognized in arm g++ toolchain? Did i miss something?


OK, I have found the reason.