Building JuceDemo on a PC (Win 7) - Eclipse [armeabi-v7a] Compile++ arm : juce_jni <= juce_core.cpp In file included from J:/modules/juce_core/juce_core.cpp:187:0: J:/modules/juce_core/native/juce_posix_SharedCode.h: In static member function 'static void juce::Thread::setCurrentThreadAffinityMask(juce::uint32)': J:/modules/juce_core/native/juce_posix_SharedCode.h:964:74: error: 'pthread_setaffinity_np' was not declared in this scope pthread_setaffinity_np (pthread_self(), sizeof (cpu_set_t), &affinity); ^ make.exe: *** [obj/local/armeabi-v7a/objs/juce_jni/J_/modules/juce_core/juce_core.o] Error 1
probably needs a glibc version check like the one made for pthread_setname_np
Thanks, will sort that out.
(But that's a seriously old glibc version you're using though, the function was added 11 years ago!)
All fetched from (recent- past 12 months-ish?) google dev installs!
Can someone else building for Android in Eclipse on a Windows platform please check that this isn't just a funny on my PC
also http://stackoverflow.com/questions/7297158/c-c-unused-inline-function-undefined-reference