compiling max5 sdk examples

Feb 4, 2009 at 3:32pm

compiling max5 sdk examples

Hello all,

I can’t find anything related on the forums or the mailing list (going back 4 months), so here goes:

Has anyone had trouble compiling the new Max5 SDK examples (like simplemsp, delay2) using XCode 3 on 10.5.5? They seem to compile ok on both development and deployment targets, but then they get built as mxo _folders_ (strange?) and Max won’t load them (even if path set right, or mxo folders copies in patches, or msp-externals, etc.).

Any thoughts?

David

#42105
Feb 4, 2009 at 3:36pm

Just in case no-one has had trouble and can’t help: is there a way to compile the SDK externals using GCC from the command line?

David

#150492
Feb 4, 2009 at 6:41pm

FYI: I’m on Xcode 3.1.1 (are you just on 3.0.0?) and 10.5.5 – no problems here.

Do you mean it doesn’t seem to be creating a valid bundle? I seem to remember I had a similar problem with building AudioUnits on Xcode 2.5 & 3.0 but that seems to be fixed on 3.1.1 so I never investigated what the problem might have been…

#150493
Feb 11, 2009 at 3:14pm

For reference, what’s happening in my case is that compilation succeeds, creates a folder in sdk-build with the (for example) simplemsp~.mxo, and inside there’s ‘Contents’, and inside that, Info.plist, the Mac OS folder, and the binary inside that. However, at the same level as the Info.plist, there should be a PkgInfo file, which doesn’t currently get built.

Anyone else experience that?

Copying that file into the folder (from a different one already in msp-externals in max) turns the .mxo into a fully functional external.

David

#150494

You must be logged in to reply to this topic.