Makefile that builds an external Max Object from C++ scripts (without Xcode)

Apr 24, 2013 at 2:11pm

Makefile that builds an external Max Object from C++ scripts (without Xcode)

Hi,

I’ve just written a Makefile for my own, that helps me to compile a .mxo object on Mac (using .o with possibly C++ class definitions),
without using Xcode. You can find the link on this page :

http://www.neurophys.biomedicale.univ-paris5.fr/~ledoux/Packages.php

I was quite frustrated to find tutorials on Internet that do this kind of job but only with Xcode 3…And apparently this is a bit harder with Xcode 4. , because project templates need in that case to configure their templateInfo.plist in a precise manner (but maybe it’s actually easy ????!! Or maybe I didn’t find the good helps…)

The package has also inside the max SDK tools (with a 6.0.4 version). From the main directory, you can normally just drag into the src/ folder your .cpp files to compile and then type make (but see the README and the Makefile for particular notes). The package is already working with the example script found here http://code.google.com/p/maxcpp/
I don’t know if it can help someone, and sorry I’m still quite a newbee in this kind of programming field, so I would be glad of course to have returns for people they accept to try it…I’m still learning how to write Makefiles that are more general and smarter conceived.

Thanks,

Erwan.

#67914
Apr 24, 2013 at 4:37pm

Hi,

1. It seems that minimum requirement is Mac OS X 10.6 ? Isn’t it ?
2. Maybe use latest maxcpp6.h with MaxSDK-6.* ( https://github.com/grrrwaaa/maxcpp ) ?
3. IMHO that’s not a good idea to install objects directly in the Applications/Max folder !

Anyway, it doesn’t work for me mainly for OS compatibility.

#244174
Feb 5, 2014 at 10:31am

That PHP file doesn’t seem to exist

#280161
Feb 5, 2014 at 11:15am
#280164

You must be logged in to reply to this topic.