Xcode 4.3

Discuss issues relating to audio plugins

Re: Xcode 4.3

Postby jules » Mon May 14, 2012 9:46 am

brp wrote:hi there
i'm absolutely new to mac and xcode. i'd like to compile the audio-plugin i just finished within vc2010 in xcode on a lion-mac. can someone please give me a step by step explanation how to get juce 2.0 compiling my plugin in xcode?? i just don't get it working!!

thanks a lot!!
pascal


I think you need to give more details about exactly what problems you're having.
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Xcode 4.3

Postby sinaclamet » Wed Jun 06, 2012 5:37 pm

xsd121 wrote:Always build error because of "Command /Applications/Xcode.app/Contents/Developer/usr/bin/Rez failed with exit code 2", and there's no Rez under this dir.

How to solve this?



Depending on your version of XCode, you may get another error about an ambiguous function call. If this happens, open the file AUMidiEffectBase.cpp in the folder Juce AU Wrapper/Apple AU Files. This file should contain the error in compilation (it’s on line 154 in my system). Change the offending line to read as follows:
result = ((AUMIDIBase*)This)->MIDIEvent(inStatus, inData1, inData2,
inOffsetSampleFrame);
From here you should be able to successfully build the project.
sinaclamet
JUCE Weenie
 
Posts: 4
Joined: Wed Jun 06, 2012 5:34 pm

Re: Xcode 4.3

Postby Zoabis » Fri Jun 15, 2012 11:07 pm

Thanks so much for this sinaclamet. Your instructions worked perfectly for me
User avatar
Zoabis
JUCE Geek
 
Posts: 25
Joined: Thu Jun 14, 2012 8:34 pm
Location: Tallinn, Estonia

Re: Xcode 4.3

Postby yairadix » Tue Jul 03, 2012 4:32 pm

Does anyone else get this error when building with RTAS?

Code: Select all
.../ASConnUtil.h:25:10: fatal error: 'Components.h' file not found


This happens to me with XCode 4.3 building the juce's example plugin with latest tip (b6211f01c871a0317ab98dd9e6f10caa04535530) ..
User avatar
yairadix
JUCE UberWeenie
 
Posts: 130
Joined: Fri Jul 23, 2010 10:38 pm

Re: Xcode 4.3

Postby yairadix » Tue Jul 03, 2012 5:08 pm

Update: the project builds when commenting out the line
Code: Select all
#include <Components.h>

from ASConnUtil.h from the RTAS SDK.
Of course, changing the SDK files isn't a nice solution..
User avatar
yairadix
JUCE UberWeenie
 
Posts: 130
Joined: Fri Jul 23, 2010 10:38 pm

Re: Xcode 4.3

Postby yairadix » Thu Jul 05, 2012 4:18 pm

Fix for RTAS headers problem with XCode 4.3:

At jucer_AudioPluginModule.h:

Code: Select all
exporter.extraSearchPaths.add ("/Developer/Headers/FlatCarbon");


should be

Code: Select all
exporter.extraSearchPaths.add ("$(DEVELOPER_DIR)/Headers/FlatCarbon");
User avatar
yairadix
JUCE UberWeenie
 
Posts: 130
Joined: Fri Jul 23, 2010 10:38 pm

Re: Xcode 4.3

Postby yairadix » Wed Oct 03, 2012 2:36 pm

So it appears apple fiddled with the directories again with Xcode 4.5.
The files which were at "$(DEVELOPER_DIR)/Headers/FlatCarbon" are now at "$(SDKROOT)/Developer/Headers/FlatCarbon" using the 10.7 sdk (they're not there with the 10.8 sdk).
Perhaps the introjucer can add both paths?
cheers, Yair
User avatar
yairadix
JUCE UberWeenie
 
Posts: 130
Joined: Fri Jul 23, 2010 10:38 pm

Re: Xcode 4.3

Postby jules » Wed Oct 03, 2012 6:30 pm

Thanks, yeah, I'll add the extra path.
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Previous

Return to Audio Plugins

Who is online

Users browsing this forum: No registered users and 1 guest