Electronic Music mailing list archives

Previous Message: Re: *explain* nextTimeOnGrid
Next Message: Re: Flash + scsynth

From: blackrain ()
Date: May 17, 2008
Subject: Re: Building Sclang Executable on OS X (leopard or
Hi Marije,
Sorry I missed your post.

We could do this in OSXPlatform:startup:

	startup {
		if ( this.hasFeature( \emacs )  or:{ this.hasFeature('CocoaDocument') }) {
			Document.implementationClass.startup;
		};

and then,
1 - The user would have to manually disable the CocoaDocument class
(as in place the file in a 'test' folder) if they want to use the
library with sclang. Be it stand alone or in scel.
but...
2 - The method creates the servers windows and the interpreter will
whine if there is no views server so these would still have to be
commented out:

	startup {
		if ( this.hasFeature( \emacs )  or:{ this.hasFeature('CocoaDocument') }) {
			Document.implementationClass.startup;
		};
		// make server window
	//	Server.internal.makeWindow;
	//	Server.local.makeWindow;
		this.loadStartupFiles;
	}

I dont see a better way to have this working clean w/o user mods.
Currently we dont have a way to tell if it is the app, scel, or
nothing at all (as in sclang from the command line) that is actually
compiling the library.

cheers,

x

On Mon, May 12, 2008 at 1:57 PM, nescivi  wrote:
> Hiho,
>
> On Monday 12 May 2008 11:49:02 scacinto wrote:
>> Hey x,
>>      This actually fails with the same error.  I must be doing something
>> wrong in the build process, as I followed the rest of your instructions to
>> a tee (though I'm not sure what the problem was with the '\emacs \emacs'
>> thing... was that something wrong on my end?  (I haven't even installed
>> emacs, let alone called it for anything... perhaps that's the problem?...)
>
> The \emacs feature is set when the Emacs class has succesfully created a
> command FIFO between emacs and SC.
> So I guess, OSXPlatform should also have this bit in *startup, just like
> LinuxPlatform:
>
> if ( this.hasFeature( \emacs ) ) {
>        Document.implementationClass.startup;
> };
>
> (or maybe that should be moved to Main, assuming windows can theoretically
> also use the emacs interface).
>
> sincerely,
> Marije
> _______________________________________________
> sc-users mailing list [EMAIL REMOVED] > http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
_______________________________________________
sc-users mailing list [EMAIL REMOVED] http://lists.create.ucsb.edu/mailman/listinfo/sc-users

+ Building Sclang Executable on OS X (leopard or other) scacinto (05/09/08)
+---Re: Building Sclang Executable on OS X (leopard or scacinto (05/09/08)
+------Re: Building Sclang Executable on OS X (leopard or Stefan Nussbaumer (05/10/08)
+------Re: Building Sclang Executable on OS X (leopard or James Harkins (05/10/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+---------Re: Building Sclang Executable on OS X (leopard or blackrain (05/13/08)
+---------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or stefan kersten (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or nescivi (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or stefan kersten (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/13/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/13/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/12/08)
+---Re: Building Sclang Executable on OS X (leopard or blackrain (05/13/08)
+---Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/15/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/16/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/17/08)
+---------Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+---------------Re: Building Sclang Executable on OS X (leopard or James Harkins (05/18/08)
+------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/16/08)
+------Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/17/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or Björn_Kessler? (05/18/08)
+---------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------------Re: Building Sclang Executable on OS X (leopard or Rainer Schuetz (05/18/08)
+---------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/19/08)
+------------------------Re: Building Sclang Executable on OS X (leopard or Rainer Schuetz (05/19/08)
+---------------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/20/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/18/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/19/08)
+---Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/18/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/21/08)
+---Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/21/08)

Previous Message: Re: *explain* nextTimeOnGrid
Next Message: Re: Flash + scsynth