5.1.1 SDK Update

Dec 19, 2009 at 2:16pm

5.1.1 SDK Update

An update to the SDK is available. It can be downloaded here:

http://cycling74.com/download/MaxSDK-5.1.1.zip

Here is the Change Log:
- integrated content and examples from the Jitter SDK
- new jit.simple and jit.simple~ example projects
- all examples are more friendly to XCode versions < 3 for compiling on OS 10.4
- documented CLASS_METHOD_ATTR_PARSE
- fix for example in documentation of CLASS_STICKY_METHOD
- object_zero() deprecated, now does nothing
- class_alias() is now exported from the kernel
- removing the jgraphics lockpixels methods from the documentation — they are not exported.
- fix for definition of JGRAPHICS_3PIOVER2
- commented jgraphics.h regarding jgraphics_pattern_set_extend()
- collect example now includes further information (and an example project) for people wishing to use the Code::Blocks IDE on Windows.
- collect example now includes instructions and Makefile for compiling on Windows using GCC and debugging using GDB.
- collect example now shows how to selectively export symbols for both the Mac and Windows (without using a .def file)

#47296
Dec 19, 2009 at 11:23pm

Thanks!

The file you named above is not the one listed under “Max Software Development Kit: Download Latest …” at this page: http://cycling74.com/downloads/ Should it be?

Also, while I know I should move “c74support” to my “/Library/Application Support”, I’ve never known what to do with the rest of the download. Where should I put it? (I’m particularly concerned about where to put the two files in “examples” named “maxmspsdk.xcconfig” and “Info.plist”, which seem like they might be more than just examples.)

#170148
Dec 20, 2009 at 9:29pm

The downloads page is scheduled for an update this week.

You shouldn’t need to move any of the files anywhere specific. You can simply put the downloaded folder anywhere you like and then open a project and compile.

Cheers

#170149
Jan 12, 2010 at 6:03am

I tried to use class_alias() and the object doesn’t load (it loads fine if I don’t use it). I get an error message in the max window saying “Symbol not found _class_alias”. Perhaps I’m not using it correctly, or the code is not in the library for this function?

*****************
c = class_new(“p_sr”, (method)SR_new, (method)SR_free, sizeof(psr), 0L, A_GIMME, 0);

…blah blah blah
class_register(CLASS_BOX, c);
maxerr = class_alias(c, gensym(“pxrgh_snd”));

#170150
Jan 12, 2010 at 1:39pm

I assume you are using Max 5.1.1? Which platform are you on?

Thanks

#170151
Jan 13, 2010 at 2:50pm

Hi Tim,

thanks for your ongoing efforts on the SDK.

I just wanted to let you know that I found two functions that the compiler cannot link to:
jgraphics_rectintersectsrect() and jgraphics_rectcontainsrect()

I wish they could be exported for the next version of the SDK.

Thanks.

- Luigi

#170152
Jan 28, 2010 at 5:26am

> I assume you are using Max 5.1.1? Which platform are you on?

PPC G5

#170153
Jan 28, 2010 at 1:33pm

The class_alias() function should be exported as of Max 5.1.2.

Cheers

#170154
Jan 28, 2010 at 10:42pm

Nice work on the latest SDK! It’s especially good to see the jitter projects in there.

#170155
Jan 29, 2010 at 2:39pm

Thanks — The merging of the Max and Jitter SDKs may not be über-elegant at the moment, but the important thing is that it is all together now. If you have any suggestions for future SDK versions, please feel free to let us know.

best wishes

#170156

You must be logged in to reply to this topic.