jit.gl.isf icon indicating copy to clipboard operation
jit.gl.isf copied to clipboard

Error 126 loading external jit.gl.isf

Open hughlobel opened this issue 6 years ago • 3 comments

Jit.gl.isf is working fine when using native Max 8.

However, when I attempt to build a standalone Max application with jit.gl.isf, I receive the following error:

'Error 126 loading external jit.gl.isf'

This is occurring on Windows, using the most recent beta build (0.9.1). I haven't had a chance to test this on MacOS yet.

hughlobel avatar Jun 08 '19 18:06 hughlobel

Just tested on a standalone application on MacOS, and I can confirm that jit.gl.isf works fine on Max standalones built in MacOS. The Error 126 seems to only apply to Windows.

My guess based on this article: https://cycling74.com/forums/error-126-loading-external-when-building-with-external-library is that there may be one or more .dll files that don't get copied over when Max builds a standalone, that jit.gl.isf is using. Do you know what .dll files isf relies on?

hughlobel avatar Jun 08 '19 18:06 hughlobel

hi hugh-

  • as you stated, the mac version of max can create the standalone without any issues: it's only the win version which is having issues.
  • on my end, when max is creating the standalone on windows, the max console indicates that it is both "adding mac external jit.gl.isf to windows collective" and "Copying External jit.gl.isf".
  • despite the above messages, i can find no trace of anything jit.gl.isf-related in the exported standalone directory. far from it, actually: it looks like max is forgetting to copy the entire "ISF" package into the standalone directory.

the "workaround" for this is ludicrously simple: manually copy the "ISF" package into your standalone's "packages" directory.

i have no idea why max has decided that it shouldn't copy this directory on windows; we'll ask around, in the meantime i'm leaving this issue open in case other people have the same question.

mrRay avatar Jun 10 '19 18:06 mrRay

I just had the same issue. So far so good, the workaround works! Thanks

deseipel avatar Sep 01 '20 01:09 deseipel