I can’t seem to get Juce 1.51 to build for the ppc64 architecture on Mac. It fails with following error during compile stage:
juce_amalgamated.cpp: In static member function ‘static int juce::SystemStats::getNumCpus()’:
juce_amalgamated.cpp:237000: warning: ‘NSProcessInfo’ may not respond to '-activeProcessorCount’
juce_amalgamated.cpp:237000: warning: (Messages without a matching method signature
juce_amalgamated.cpp:237000: warning: will be assumed to return ‘id’ and accept
juce_amalgamated.cpp:237000: warning: ‘…’ as arguments.)
juce_amalgamated.cpp:237000: error: cast from ‘objc_object*’ to ‘int’ loses precision
I build on OS X 10.5.8, which has all the necessary ppc64 dependencies. Other architectures build without problems.
I guess that makes sense to some extent. Might be good to add that little fix to nonetheless. It’s all needed to build for ppc64 with 10.5 as target. Builds perfectly now.
It doesn’t really make much sense though - the NSProcessInfo call that you’re removing is just a cocoa call, which is available on ppc64 as long as you’re building for 10.5 or later…?