Am building AU/VST plugin code.
in audioeffect.cpp and AUCarbonviewbase i seem to get non-constant expression errors relating to VST and AU library files
which Xcode suggests inserting explicit casts.
Thing is - i shouldn’t have to be changing VST or AU source code - this is with the latest OSX and Xcode etc
any ideas on fixing ?
Dan
jules
June 27, 2012, 5:45pm
2
An example would be helpful…
jules
June 27, 2012, 8:22pm
5
That’s in Apple’s code, not mine!
Is this related to the AU interface breaking from 10.6 to 10.7?
something tells me its something like that.
one error is for VST though, not AU.
Is there some compiler setting i can change ? could this be C++11 or C++0x related ?
Also - am i right in thinking that Steinberg have stopped making any changes to the VST 2.4 SDK for ages ?
Don’t get the picture theres a huge move in the market to VST3 even though the VST mailing list seems to be mainly VST 3 posts
In the latest iteration i actually removed all my own source code leaving just the JUCE stuff…
heres the screenshot
I did do what jules suggested and added the extras folder inside Xcode and put the Coreaudio stuff there. That got rid of the rez errors, but don’t think its related to this, which seems to be more a compiler
thing.
myk
October 10, 2012, 11:15am
11
Did you find a resolution to this issue? I am having the same problem at the moment.
nonchai
November 12, 2012, 9:26pm
12
only solution i had was to make the corrections suggested by the compiler in the cpp file. Not ideal by any means.
anoyne else got a better idea ? is the re a compiler setting i can change ?
im on mountain lion now using the latest XCode.
in23d
November 13, 2012, 7:20am
13
What did you end up doing?
nonchai
November 13, 2012, 10:47am
14
putting in the casts suggested by the compiler. requires the latest xcode version. otherwise Xcode crashes etc.
unsatisfactory though since every time one updates xcode one needs to add back the extras/coreaudio files WITH these modifications added.
Anyone know if Apple has released updates of these cpp files ?