compiling max5 sdk examples

pland's icon

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

pland's icon

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

martinrobinson's icon

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...

pland's icon

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