Juce on iPhone with no GUI?


#1

How about it?

I was hoping the JUCE_ONLY_BUILD_CORE_LIBRARY flag and the amalgamated file would get me there, but it looks like there’s problems right from the includes. In juce_Mac_NativeIncludes.h, the following non-iPhone frameworks cause problems:

#import <Cocoa/Cocoa.h> #import <CoreAudio/HostTime.h> #import <CoreAudio/AudioHardware.h> #import <CoreMIDI/MIDIServices.h> #import <QTKit/QTKit.h> #import <WebKit/WebKit.h> #import <DiscRecording/DiscRecording.h>

Am I better off manually adding stuff in? The stuff I feel naked with out includes the favs, like String and XmlElement, threads.

But this does seem like a candidate for that flag, in the short term?

Bruce


#2

Certainly some of those things should be removable, though certainly cocoa.h will be needed for some basic non-gui stuff.


#3

I haven’t looked in detail… but perhaps some of the things in Cocoa that are needed may be elsewhere on iPhone e.g., UIKit, Foundation or something?