Forums > Jitter

can't create standalone with javascript jit.window – help!


Feb 01 2006 | 2:07 am

If I make a patch that contains a javascript with this single line:

var window = new JitterObject("jit.window","myWindow");

and save it, the window is created, and everything is just fine.

But then when I go to build a standalone application, I get these error messages:

? error: patcher: missing arguments for message "close"
? error: jit.window: No such object
? error: jsjitterobject_Constructor: null class pointer jit_window

Feb 01 2006 | 2:41 am

Did you include jitlib in the collective editor?

Ben

Feb 01 2006 | 2:48 am

Yes, I included all the files mentioned in "Appendix D: Building Standalone Applications with Jitter", for both jitter + javascript.

I’ve built standalones successfully before; it seems to be the specific inclusion of a javascript-instantiated jit.window that causes the errors.

Feb 01 2006 | 3:33 am

You also need to include jit.window and all objects referenced in
your javascript file. Otherwise the class is not present to be
instantiated. Patchers know which objects they contain and add them
to the collective for you, but javascript files do not.

-Joshua

Feb 01 2006 | 5:15 am

Got it. Thanks Joshua – didn’t realize that, but it certainly makes sense.

Mar 11 2006 | 9:06 pm

Where is Appendix D? my jitter documentation only goes to "C"?

Casey

Mar 11 2006 | 9:43 pm

On Mar 11, 2006, at 3:06 PM, casey Farina wrote:

>
> Where is Appendix D? my jitter documentation only goes to "C"?

It would suggest that you need to upload a more recent
version of the documentation, I think.

Mar 12 2006 | 12:03 am

maybe I’m missing something fundamental here but I’ve just downloaded all the jitter documentation for mac and there is no Appendix D to be found?
Casey

Mar 12 2006 | 12:09 am

I just looked at my docs. I have an appendix D. The create date on
the file is 9/20/05. What are you downloading from the C74 site?

wes

Mar 12 2006 | 12:18 am

I just donwloaded from

jitter 1.5
Jitter documentation for MAc

and

jitter 1
Jitter documentation for Mac

no appendix D in either of these?
Casey

Mar 12 2006 | 12:24 am

So did I and you’re right that it isn’t in there. Looks like the
jit1.5 documentation download for mac needs to be updated.

wes

Mar 12 2006 | 12:29 am

Thanks Wes
Great it is good to know I’m not crazy, any Idea when the complete documentation will be available, or where I could get appendix D?
Casey

Mar 13 2006 | 8:57 pm

On Mar 11, 2006, at 4:29 PM, casey Farina wrote:

> Thanks Wes
> Great it is good to know I’m not crazy, any Idea when the complete
> documentation will be available, or where I could get appendix D?

The latest Jitter Installer.

-Joshua

Mar 03 2013 | 1:35 pm

Yes. Thank you, Joshua. Your answer with respect to including all of the objects created by the javascript file solved my standalone issues as well, 7 years on! Once again, the forum search box has proven to be my friend… :~)

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

Forums > Jitter