Amalgamation won't compile in XCode 4 for Mac


#1

I include unmodified copies of juce_amalgamated.cpp, juce_amalgamated.h, and juce_amalgamated.mm in my XCode 4 project and I get a zillion errors.

Here is a screenshot

[attachment=0]Screen Shot 2011-08-18 at 4.27.36 PM.png[/attachment]


#2

When I use the Juce Demo project (without “modernizing” it to XCode 4), I am able to remove the JuceLibraryCodeX.mm files, and replace it with the juce_amalgamated.mm and it compiles…


#3

“Modernizing” the Juce Demo.xcodeproj file from 3.1 to 3.2, also compiled correctly with the single juce_amalgamation.cpp


#4

Would have been nice to know about the “JUCE_ObjCExtraSuffix” macro, Jules…


#5

Finally got the thing working…soon I will upload a new DspFilters that has a proper XCode 4 project for all platforms including iOS, 32/64 bit, etc…