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

Feb 1, 2006 at 2:07am

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

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

#24207
Feb 1, 2006 at 2:41am

Did you include jitlib in the collective editor?

Ben

#69635
Feb 1, 2006 at 2:48am

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.

#69636
Feb 1, 2006 at 3:33am

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

#69637
Feb 1, 2006 at 5:15am

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

#69638
Mar 11, 2006 at 9:06pm

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

Casey

#69639
Mar 11, 2006 at 9:43pm

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.

#69640
Mar 12, 2006 at 12:03am

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

#69641
Mar 12, 2006 at 12:09am

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

#69642
Mar 12, 2006 at 12:18am

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

#69643
Mar 12, 2006 at 12:24am

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

#69644
Mar 12, 2006 at 12:29am

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

#69645
Mar 13, 2006 at 8:57pm

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

#69646
Mar 3, 2013 at 1:35pm

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… :~)

#69647

You must be logged in to reply to this topic.