I’ve just checked the latest tip from GIT and noticed that JuceDemoPlugin crashes Live 8.0.5 (VST and AU), GarageBand, Logic 8 on Mac OSX 10.4.11 (Tiger). The crash happens when JuceDemoPlugin is simply inserted.
Did you think about adding ready to use JuceDemoPlugin version to the extras/prebuilt directory? In such way we could test it easier during juce updates and without harming the procedure by our builds.
I found something strange. I’ve tested the juce demo app on these Tiger OSX I wrote before. The prebuilt version from tip works correct, but when I build my version of juce demo it crashes on Tiger.
I build on 10.6.1 with XCode 3.2. I see that Base SDK for Juce Demo project is set to Current Mac OS value and Deployment Target is set to Mac OS X 10.4 so if I understand it, it should works on 10.4 and higher OS X. Am I right?
On the 10.6.1 used to build it works smoothly however it crashes on 10.4.11. Here is portion from crash log…
Yes, I did full rebuild, cleaning all the targets before
I’m not sure If I made my correct. My build is working on my 10.6.2 (and previously on 10.6.1) but not on 10.4.11.
Your build (from extras/prebuilt) is working on both OSX versions.
That’s why I’m wondering if your configuration (on which prebuilts are made) isn’t specific in some point?
debug … hmmmm … how can I debug it on this 10.4.11 when I don’t have XCode installed on it? I always used to run the build-in debugger from XCode. Any hints how to debug it without XCode?
Really sorry for such a dumb problem but I started to wonder If I get all the builds details correct.
As far as I know when the active SDK is set to 10.6 and Deployment target is set to 10.4 the code could be run on 10.4 and later. Am I right?
I also tried to set active SDK to 10.4 and then I can’t compile it because I get some errors in MacTypeface class. It can’t find the CGFontCreateWithFontName() method. Following the Mac OSX Reference Library this method is available on 10.5 and higher.
So I have no idea how the prebuilt version is compiled than I can run it on 10.4.11 without any problems.
That’s the theory. But presumably if 10.4 is missing that CGFontCreateWithFontName call, it might be crashing when trying to call it. I’ll see if I can add a fallback to open the font with an older function on 10.4, and that might sort it out.
OK, now I know the most strange in this issue. I wondered why my build doesn’t work on 10.4.11 while the prebuilt version does. The answer is that prebuilt version of jucedemo.dmg was built on 2009-09-19 - much before changes in Typeface
So I guess that if you’d build it this time it won’t run on Tiger OSX. Probably it’s because of the CGFontCreateWithFontName() method. It needs 10.5 as they say in reference library.
When you set the active SDK to 10.4 with the combo box in upper-left corner in XCode and compile you’ll see all 13 errors caused by code not available in OSX 10.4.x
XCode has magically removed the 10.4 SDK from my machine, so that’s not possible.
Am extremely pissed off about this - that font class was looking great, and now I have to spend ages messing it all up again to deal with all this 10.4 crap…