Didn’t get much further here so far. I tried to upgrade the VST versions of my plugs to Cocoa, but they are not recognized by Live, Reaper and Renoise on a 10.5. Intel Mac (worked fine with the Carbon version). Also the Cocoa JUCE Demo Plugin crashes all these hosts when using the VST version. With the AU version, the resizer doesn’t work. Can anybody confirm these findings?
With some quick tests yes, I think the JuceVST crashes Cubase LE when it’s initialised. Although one of my plugins (on an SVN here: http://164.11.131.73/svn/CEMS/mt/other/uweplug/) which is pretty much the Juce Demo plugin doesn’t. Although, - I created the VST Xcode project by copying the AU project and tweaking the settings, rather than copying the JuceVST project and tweaking that. I may have missed a setting? (I added the cpp and mm wrappers and the exported symbols file too of course.)
This plugin loads in Cubase and displays the interface but mousing doesn’t work. The component looks like it’s displayed too high in the window, obliterating the Power, R W etc buttons. The automation works and the component updates the slider values, just clicks don’t get through.
The audio side of things seems OK I’m that hasn’t changed much?, although it’s tricky to test without an interface.
BTW I’m on Juce r618 for this.
Oh yes, and the resizer didn’t seem to work in the AU in AULab
Ok, thanks for all those. I’m in the middle of refactoring the plugin wrappers at the moment, to make them into a one-size-fits-all polymorphic build, so I’ll be doing some testing anyway.
…I just tried the Juce tip (r621) since NSViewComponentPeer.mm was updated since r618. Still the same in Cubase, and no resize in the Demo AU in AULab.
Also I notice a missing ) at line 782 in juce_AudioUnitWrapper.mm
#if defined(MAC_OS_X_VERSION_10_5)
UInt32 inStartFrame
#else
long inStartFrame)
#endif
should be?
#if defined(MAC_OS_X_VERSION_10_5)
UInt32 inStartFrame)
#else
long inStartFrame)
#endif
whoops! Yes indeed. Ta.
The 10.4/2.5 build problems might be solved if the platform checks would look like this:
#if !defined(MAC_OS_X_VERSION_10_5) || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
But I currently get bus errors in Xcode 2.5 when trying to compile the amalgamated version anyway.
NSViewComponentPeer::NSViewComponentPeer also seems to be missing:
setTitle (component->getName());
Or I’m missing something?
Moving windows on the smallest of multiple monitors also behaves strange (besides the menu and cropping problems mentioned before, which I see too).
Thanks - good points there. And yes, setTitle() does seem to be missing.
I’ve not got a multi-monitor setup at the moment, so haven’t tried it myself. I’ll have to rig something up and have a go.
The problems with multiple monitors seems even worse than I first thought.
Menus pops up in the wrong place too.
Maybe this is related to the other cropping/positioning problems.
Is anyone seeing the same problems with native menus as we do, i.e. the application specific part of the menu doesn’t show up at all?
The menu in the JUCE demo is working, but not in our application.
Drat, I guess I’ll have to find myself a monitor and try it. I only seem to use laptops nowadays…
Windows with alpha channel doesn’t look right on PPC.
E.g. drag and drop in juce demo.
