fyi: tried compiling vanilla juce gui project for android and encountered the build errors below. Any idea whether these are known issues?
1. error in juce_PNGLoader.cpp
this is fixed when I add a #include <setjmp.h>
In file included from jni/../../../JuceLibraryCode/modules/juce_graphics/juce_graphics.cpp:118:0: jni/../../../JuceLibraryCode/modules/juce_graphics/image_formats/juce_PNGLoader.cpp: In function 'void juce::PNGHelpers::errorCallback(juce::pnglibNamespace::png_structp, juce::pnglibNames nst_charp)': jni/../../../JuceLibraryCode/modules/juce_graphics/image_formats/juce_PNGLoader.cpp:320:20: error: 'jmp_buf' was not declared in this scope longjmp (*(jmp_buf*) p->error_ptr, 1);
2. error in libFLAC/cpu.c. This I could not find a workaround for, other than disabling Flac support in introjucer
In file included from jni/../../../JuceLibraryCode/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:73:0, from jni/../../../JuceLibraryCode/modules/juce_audio_formats/juce_audio_formats.cpp:110: jni/../../../JuceLibraryCode/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c: In function 'void juce::FlacNamespace::FLAC__cpu_info(juce::FlacNamespace::FLAC__CPUInfo*)': jni/../../../JuceLibraryCode/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c:247:36: error: '__sigemptyset' was not declared in this scope __sigemptyset(&sigill_sse.sa_mask);
note:
I'm using a recent tip (one day old)
I'm building on Windows 8.1, using most recent android SDK/NDK r10e (32-bit)