Forums > MaxMSP

Compiled Standalone: js Problem

April 27, 2006 | 1:15 pm

When I create a standalone to run on the computer on which maxmsp is installed, I get no problems. The javascript works, the js. object is displayed as solid.

When the standalone runs on another computer, the js. object is dotted, ie not found. And I get an error:

can’t fragload js (missing <>),error -2804

I used the standalone object to include the folder containing tzhe scripts.

Can anyone see what I’m doing wrong ? And how is the standalone on the original computer finding the script ?

Thank you,

Puzzled of Dortmund


April 27, 2006 | 2:07 pm

On 27 avr. 06, at 15:15, Stuart Grimshaw wrote:

> When the standalone runs on another computer, the js. object is
> dotted, ie not found. And I get an error:
>
> can’t fragload js (missing <>),error -2804

Did you check the forum’s archives? You definitively should, as there
are numerous posts inthere about this topic.

You have to add the JSRef library to your standalone, (or since JS is
thread safe, the file may now have another name).

As you don’t tell us on which platform you work, I can’t tell you where
to look for this file.

p

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://users.skynet.be/crfmw/max


April 27, 2006 | 2:24 pm

Hi Stuart,

On 27 Apr 2006, at 15:15, Stuart Grimshaw wrote:

> When I create a standalone to run on the computer on which maxmsp is
> installed, I get no problems. The javascript works, the js. object is
> displayed as solid.
>
> When the standalone runs on another computer, the js. object is
> dotted, ie not found. And I get an error:
>
> can’t fragload js (missing <>),error -2804

Make sure you include JSRefThreadsafe.shlb or JSRef.shlb in your
standalone application. Those can be found in /Library/CFMSupport. Put
them in your standalone in /Contents/MacOS (assuming you’re on Mac).

Happy Maxing,

Peter Swinnen
—————————————-
Composer (from Belgium)
http://www.peterswinnen.be
mailto:info@peterswinnen.be


April 27, 2006 | 2:29 pm

Thanks, that did it.


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