Forums > Dev

Max 6.1.3 SDK Release

July 23, 2013 | 6:34 am

Hi all,

We have an updated SDK for you:

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

Most of the changes are minimal tweaks and minor additions. The most significant addition is a new example project that provides a model for Max externals that link dynamically to other libraries (DLLs, dylibs, frameworks). The relevant information on this project is in a "ReadMe.txt" file in the projects folder, which you can browse here:

https://github.com/Cycling74/max6-sdk/tree/master/examples/advanced/dllexample

Enjoy!
- .. –


July 24, 2013 | 12:50 pm

bwaa-haha-yess….
Delayloading dependent Windows DLLs an external needs/wants can be helpful to handle situations when/if the dependent DLL isn’t installed to allow for a graceful degradation of the external rather than a complete failure. I use this method for some features on dp.kinect.

Fun stuff! Thanks for the continued updates. :-)



Lee
July 25, 2013 | 3:36 am

look forward to trying this…

a question whilst I’m here… for m4l projects using externals, is it best to deliver a seperate package with all the externals or will freezing do all the necessary jobs?

i’m guessing to handle cross-platform installs, it needs to be a seperate package?



Lee
July 25, 2013 | 3:55 am

btw, have only just moved into using the SDK from JS and Java and have to say it’s a whole now world – documentation is top notch too!


July 25, 2013 | 6:33 am

When you freeze a device it should automatically copy your external.

The one caveat is the (somewhat rare) case where you have an external DLL dependency: the external will be copied automatically but the DLL will not be as Max (at least at this time) does not know about the linker dependency.

So…

1. Assuming you do not have the DLL dependency issue, freezing will do the job.

2. You can include both .mxo (mac) and .mxe and .mxe64 (windows) in the same package for a single cross-platform distribution.

- .. –



Lee
July 25, 2013 | 3:47 pm

great, thanks for the clarification :)


Viewing 6 posts - 1 through 6 (of 6 total)