Re: failing to run Sclang from cli (Mac OS) (Macario Ortega Ram?rez)

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: failing to run Sclang from cli (Mac OS) (Macario Ortega Ram?rez)

by Macario Ortega Ramírez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marije, thanks for the Reply. 

I haven't had the time to test your sugestions
I've commented out all of CocoaView.sc and CocoaDoc.sc from SCClassLibrary and now I'm getting this error:


$ ./sclang
Usage:
   sclang [options] [file..] [-]

init_OSC
compiling class library..
NumPrimitives = 540
compiling dir: '/Users/macario/Downloads/SuperCollider-Source/build/SCClassLibrary'
pass 1 done
numentries = 777215 / 9765980 = 0.08
Method Table Size 5638260 bytes
Number of Method Selectors 4415
Number of Classes 2212
big table size 39063920
Number of Symbols 10053
Byte Code Size 284728
compiled 363 files in 1.52 seconds 
compile done
// History.logFolder: /Users/macario/Library/Application Support/SuperCollider/HistoryLogs
Class tree inited in 0.44 seconds
ERROR: Message 'startup' not understood.
RECEIVER:
   nil
ARGS:
CALL STACK:
DoesNotUnderstandError:reportError   011C0BA0
arg this = <instance of DoesNotUnderstandError>
Nil:handleError   011C0B40
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError   011C00C0
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw   011BFD60
arg this = <instance of DoesNotUnderstandError>
Object:doesNotUnderstand   0117F730
arg this = nil
arg selector = 'startup'
arg args = [*0]
OSXPlatform:startup   0117EAA0
arg this = <instance of OSXPlatform>
Main:startup   0117EA40
arg this = <instance of Main>


Has anyone succedeed on running SCLang independently from the cocoa SuperCollider app?
Is it permitted to share a working SCLang binary with the corresponding SCClassLibrary for Mac OS X?
Would anyone care to do that?

There is another thread in the list right now about SCLang for Mac OS X.

I wouldn't be the onlyone gratefull if someone shared a working copy or if someone has the time and inclination perharps comprehensive instructions.


Thanks



On May 8, 2008, at 2:41 AM, sc-users-request@... wrote:

Hiho,

On Sunday 04 May 2008 12:46:10 Macario Ortega Ram?rez wrote:
I managed to compile sclang for console usage following this
instructions:
http://swiki.hfbk-hamburg.de/MusicTechnology/848

The swiki details two different ways to do this. Which one did you use.


But now I am getting this error:

$ ./sclang adf

two things seem to happen:
the file "adf" is not found:

file "adf" does not exist.

ERROR: A primitive was not bound. 0 539

and... CocoaDocument tries to initialize which is probably not correct when 
using sclang from the command line...

I asume it has nothing to do with the binary but with the
SCClassLibrary. Allso sclang sits there doing nothing and consumes all
my CPU. Anyone has the same problem? Can anyone help me?

I'm not sure whether anyone has come across this.
A simple solution would be to move CocoaDocument out of the SCClassLibrary.


Note that there have been some problems reported on memory slowly building up 
when using just the cli. None of the devs have yet found a solution to this 
problem.

PD. I'm new to the list and I don't know how to follow a thread
posting my previous mail.

Use reply-to in your email program and make sure you reply to the mailinglist 
address and not to someone else in private. Some email programs have an 
option reply-to-list.
Only use reply-to though when you stay on the same topic.

sincerely,
Marije


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: failing to run Sclang from cli (Mac OS) (Macario Ortega Ram?rez)

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 12, 2008, at 10:43 PM, Macario Ortega Ramírez wrote:

Marije, thanks for the Reply. 

I haven't had the time to test your sugestions
I've commented out all of CocoaView.sc and CocoaDoc.sc from SCClassLibrary and now I'm getting this error:


See OSXPlatform:startup -

Document.implementationClass.startup;

Since you have removed CocoaDocument, Document.implementationClass is nil and then you get the error.

So this line should be taken out too.

I wouldn't be the onlyone gratefull if someone shared a working copy or if someone has the time and inclination perharps comprehensive instructions.

It may take some time to get there... be patient.

hjh


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: failing to run Sclang from cli (Mac OS) (Macario Ortega Ram?rez)

by scacinto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi - please see this thread 'Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editor.'  I've recently posted (with explicit instructions) how I've gotten this to build (obviously because of everyone who told me how to do it!)

Cheers,

-S


Macario Ortega Ramírez wrote:
Marije, thanks for the Reply.

I haven't had the time to test your sugestions
I've commented out all of CocoaView.sc and CocoaDoc.sc from  
SCClassLibrary and now I'm getting this error:


$ ./sclang
Usage:
    sclang [options] [file..] [-]

init_OSC
compiling class library..
        NumPrimitives = 540
        compiling dir: '/Users/macario/Downloads/SuperCollider-Source/build/
SCClassLibrary'
        pass 1 done
numentries = 777215 / 9765980 = 0.08
        Method Table Size 5638260 bytes
        Number of Method Selectors 4415
        Number of Classes 2212
        big table size 39063920
        Number of Symbols 10053
        Byte Code Size 284728
        compiled 363 files in 1.52 seconds
compile done
// History.logFolder: /Users/macario/Library/Application Support/
SuperCollider/HistoryLogs
Class tree inited in 0.44 seconds
ERROR: Message 'startup' not understood.
RECEIVER:
    nil
ARGS:
CALL STACK:
        DoesNotUnderstandError:reportError   011C0BA0
                arg this = <instance of DoesNotUnderstandError>
        Nil:handleError   011C0B40
                arg this = nil
                arg error = <instance of DoesNotUnderstandError>
        Thread:handleError   011C00C0
                arg this = <instance of Thread>
                arg error = <instance of DoesNotUnderstandError>
        Object:throw   011BFD60
                arg this = <instance of DoesNotUnderstandError>
        Object:doesNotUnderstand   0117F730
                arg this = nil
                arg selector = 'startup'
                arg args = [*0]
        OSXPlatform:startup   0117EAA0
                arg this = <instance of OSXPlatform>
        Main:startup   0117EA40
                arg this = <instance of Main>


Has anyone succedeed on running SCLang independently from the cocoa  
SuperCollider app?
Is it permitted to share a working SCLang binary with the  
corresponding SCClassLibrary for Mac OS X?
Would anyone care to do that?

There is another thread in the list right now about SCLang for Mac OS X.

I wouldn't be the onlyone gratefull if someone shared a working copy  
or if someone has the time and inclination perharps comprehensive  
instructions.


Thanks



On May 8, 2008, at 2:41 AM, sc-users-request@create.ucsb.edu wrote:

> Hiho,
>
> On Sunday 04 May 2008 12:46:10 Macario Ortega Ram?rez wrote:
>> I managed to compile sclang for console usage following this
>> instructions:
>> http://swiki.hfbk-hamburg.de/MusicTechnology/848
>
> The swiki details two different ways to do this. Which one did you  
> use.
>
>>
>> But now I am getting this error:
>>
>> $ ./sclang adf
>
> two things seem to happen:
> the file "adf" is not found:
>
>> file "adf" does not exist.
>
>> ERROR: A primitive was not bound. 0 539
>
> and... CocoaDocument tries to initialize which is probably not  
> correct when
> using sclang from the command line...
>
>> I asume it has nothing to do with the binary but with the
>> SCClassLibrary. Allso sclang sits there doing nothing and consumes  
>> all
>> my CPU. Anyone has the same problem? Can anyone help me?
>
> I'm not sure whether anyone has come across this.
> A simple solution would be to move CocoaDocument out of the  
> SCClassLibrary.
>
>
> Note that there have been some problems reported on memory slowly  
> building up
> when using just the cli. None of the devs have yet found a solution  
> to this
> problem.
>
>> PD. I'm new to the list and I don't know how to follow a thread
>> posting my previous mail.
>
> Use reply-to in your email program and make sure you reply to the  
> mailinglist
> address and not to someone else in private. Some email programs have  
> an
> option reply-to-list.
> Only use reply-to though when you stay on the same topic.
>
> sincerely,
> Marije


_______________________________________________
sc-users mailing list
sc-users@create.ucsb.edu
http://lists.create.ucsb.edu/mailman/listinfo/sc-users