reloading externals?

Learn about building and using Max for Live devices.
Post Reply
luddy
Posts: 791
Joined: Sat Aug 08, 2009 3:36 am
Location: Beijing
Contact:

reloading externals?

Post by luddy » Tue Feb 22, 2011 3:25 am

Hi,

I'm writing some externals of my own and during the course of debugging I need to reload them into the Max runtime. It seems that Max loads up any externals it finds when it boots up, so that if I recompile an external, the newly compiled version is not seen unless I quite Live and restart it.

Is there a way to force Live/Max to reload the externals without shutting Live down altogether?

Thanks,

-Luddy

pid
Posts: 354
Joined: Thu Nov 05, 2009 9:51 am

Re: reloading externals?

Post by pid » Tue Feb 22, 2011 9:53 am

with C externals? no. asfaik. you have to restart. PITA. not sure about Java externals though.
3dot... wrote: in short.. we live in disappointing times..

emmanuel_2
Posts: 127
Joined: Fri Sep 11, 2009 7:54 am
Location: Paris
Contact:

Re: reloading externals?

Post by emmanuel_2 » Tue Feb 22, 2011 2:27 pm

pid is right, you have to relaunch Max/Live with C compiled externals. JavaScript objects can be reloaded on the fly (there's even a global property called autowatch for that), and for Java based objects, you just need to reinstantiate the mxj object.
ej

luddy
Posts: 791
Joined: Sat Aug 08, 2009 3:36 am
Location: Beijing
Contact:

Re: reloading externals?

Post by luddy » Tue Feb 22, 2011 6:36 pm

Thanks! These are indeed C externals, and will soon be asm externals. :D
-Luddy

Post Reply