|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 - 3 | Next > |
|
|
Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorHi all,
I've recently become dissatisfied with the supercollider interpreter (for a number of reasons including no line numbers, no auto syntax highlighting, open windows all over causing headaches, etc.) and would like to be able to work with the sclang executable instead via another text editor. I've attempted to build the executable from the source using scons but get a host of errors. Has anyone had success building the executable from source on a MacIntel with Leopard? The error (if you care) is as follows. ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void syncOSCOffsetWithTimeOfDay()': Source/lang/LangPrimSource/PyrSched.cpp:290: error: 'gettimeofday' was not declared in this scope scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 scons: building terminated because of errors. If I edit out this section and try again, other files pop up with errors. I know there are instructions on the wiki for ways to build from source using XCode, and other means, but the instructions are rather cryptic, and some didn't work for me at all. Is there an easy (practical) way to do this that doesn't require hours of reading/editing? Another question. Has anyone tried the text-editor Smultron? It has a number of nice features, from auto syntax highlighting to auto line numbering, in-window (quicklook) document opening so all docs are contained within a single window, one need only click one to access it. It has multiple view support and some other niceties. It can execute scripts, inline posts, etc. It seems like one could easily script this program to work like SCVim and get some of the features missing in the interpreter. I would love to hear what people are thinking about the current UI Interpreter and their workarounds for working with the sclang executable with other programs. Thanks, - Scott ______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorI just tried to build sclang following the directions on the wiki. The directions seem to be seriously outdated and flawed in several respects, including calling for the editing of several files which no longer seem to exist. I'll post the output of my attempt to run the executable at the end of this post.
So I've tried two different methods described on the wiki, using scons and using XCode, both of which failed. This seems like a bit of a problem, especially if someone new (without the commitment of a long-time user) would like to get sclang running on OS X. Could someone post clear instructions on how to compile SC with sclang using scons or XCode if they have managed to do so? Also, please post the version of XCode you are using (My failed attempt used 2.4.1) the OS (ex. 10.4.11) and whether you are using a PPC or Intel mac. It seems that getting a reliable and simple method of compiling with the sclang executable available for peruzal on the wiki, in the how-to page of the sourceforge page or even, perhaps preferably, in the OS X README, is a must as more and more people I talk to seem a little dissatisfied with the current Interpreter. Thoughts? Thanks, -S Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ ./sclang init_OSC compiling class library.. NumPrimitives = 551 compiling dir: '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary' compiling dir: '/Library/Application Support/SuperCollider/Extensions' compiling dir: '/Users/scott/Library/Application Support/SuperCollider/Extensions' pass 1 done Extension overwriting SimpleNumber:asTimeString in file '/Library/Application Support/SuperCollider/Extensions/ljpclasses/classes/LJP Classes/Extensions/SimpleNumber-asTimeString.sc'. Original method in file '/Common/Math/SimpleNumber.sc'. WARNING: FunctionDef contains variable declarations and so will not be inlined. in file '/Users/scott/Library/Application Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' line 93 char 14: var psfr;? // Please ignore SC's warning about not inlining this function. psfr = SoundFile.new; ----------------------------------- numentries = 1124454 / 18350124 = 0.061 Method Table Size 9205632 bytes Number of Method Selectors 5738 Number of Classes 3198 big table size 73400496 Number of Symbols 14287 Byte Code Size 500140 compiled 565 files in 4.92 seconds compile done // History.logFolder: /Users/scott/Library/Application Support/SuperCollider/HistoryLogs Class tree inited in 0.18 seconds ERROR: A primitive was not bound. 0 550 Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) instance variables [15] raw1 : Float 3.885846e-318 00000000 000C0048 raw2 : Float 5.56268497783366e-309 00040000 04000304 code : instance of Int8Array (0175CF30, size=4, set=1) selectors : nil constants : nil prototypeFrame : instance of Array (0175CEE0, size=4, set=2) context : nil argNames : instance of SymbolArray (0175CEA0, size=4, set=1) varNames : nil sourceCode : nil ownerClass : class SCView (01713D70) name : Symbol 'prInit' primitiveName : Symbol '_SCView_New' filenameSymbol : Symbol '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Common/GUI/Base/SCView.sc' charPos : Integer 6387 } ERROR: Primitive 'none' failed. Failed. RECEIVER: nil CALL STACK: MethodError:reportError 0166AE30 arg this = <instance of PrimitiveFailedError> Nil:handleError 0166AEF0 arg this = nil arg error = <instance of PrimitiveFailedError> Thread:handleError 0166AE90 arg this = <instance of Thread> arg error = <instance of PrimitiveFailedError> Object:throw 0166ADD0 arg this = <instance of PrimitiveFailedError> Object:primitiveFailed 0166AD70 arg this = nil SCView:init 0166AD10 arg this = <instance of SCTopView> arg argParent = nil arg argBounds = <instance of Rect> SCContainerView:init 0166ACB0 arg this = <instance of SCTopView> arg argParent = nil arg argBounds = <instance of Rect> SCWindow:initSCWindow 016AA430 arg this = <instance of SCWindow> arg argName = "internal server" arg argBounds = <instance of Rect> arg resizable = false arg border = true arg scroll = false Server:makeGui 01621CB0 arg this = <instance of Server> arg w = nil var active = nil var booter = nil var killer = nil var makeDefault = nil var running = nil var booting = nil var stopped = nil var bundling = nil var recorder = nil var scoper = nil var countsViews = nil var ctlr = nil var dumping = false var label = "internal server" var gui = class CocoaGUI var font = <instance of Font> var volumeNum = nil Server:makeWindow 0166AA70 arg this = <instance of Server> arg w = nil OSXPlatform:startup 01716400 arg this = <instance of OSXPlatform> Main:startup 017163A0 arg this = <instance of Main> ERROR: A primitive was not bound. 0 550 Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) instance variables [15] raw1 : Float 3.885727e-318 00000000 000C0030 raw2 : Float 1.390671244457466e-309 00010000 01000001 code : instance of Int8Array (02095A30, size=1, set=1) selectors : nil constants : nil prototypeFrame : instance of Array (013A6FC0, size=1, set=1) context : nil argNames : instance of SymbolArray (013A7000, size=1, set=1) varNames : nil sourceCode : nil ownerClass : class Meta_CocoaDocument (02091B70) name : Symbol 'prGetIndexOfListener' primitiveName : Symbol '_TextWindow_GetIndexOfListener' filenameSymbol : Symbol '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Platform/osx/CocoaDocument.sc' charPos : Integer 3010 } ERROR: Primitive '_BasicAt' failed. Index not an Integer RECEIVER: Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) indexed slots [0] } CALL STACK: MethodError:reportError 013CAC50 arg this = <instance of PrimitiveFailedError> Nil:handleError 013CABF0 arg this = nil arg error = <instance of PrimitiveFailedError> Thread:handleError 013CAB90 arg this = <instance of Thread> arg error = <instance of PrimitiveFailedError> Thread:handleError 013CAB30 arg this = <instance of Routine> arg error = <instance of PrimitiveFailedError> Object:throw 013CAAD0 arg this = <instance of PrimitiveFailedError> Object:primitiveFailed 013CAA70 arg this = [*0] < FunctionDef in Method Meta_CocoaDocument:startup > (no arguments or variables) Routine:prStart 0166AAD0 arg this = <instance of Routine> arg inval = 4.991427843
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editoras you're trying to run sclang from cl maybe just remove SCView.sc from
your class-library ... don't know if that's sufficient but the error relates to that. would be curious to see if it' works (though for now to lazy to try myself ;) ) stefan scacinto schrieb: > I just tried to build sclang following the directions on the wiki. The > directions seem to be seriously outdated and flawed in several respects, > including calling for the editing of several files which no longer seem to > exist. I'll post the output of my attempt to run the executable at the end > of this post. > > So I've tried two different methods described on the wiki, using scons and > using XCode, both of which failed. This seems like a bit of a problem, > especially if someone new (without the commitment of a long-time user) would > like to get sclang running on OS X. > > Could someone post clear instructions on how to compile SC with sclang using > scons or XCode if they have managed to do so? Also, please post the version > of XCode you are using (My failed attempt used 2.4.1) the OS (ex. 10.4.11) > and whether you are using a PPC or Intel mac. > > It seems that getting a reliable and simple method of compiling with the > sclang executable available for peruzal on the wiki, in the how-to page of > the sourceforge page or even, perhaps preferably, in the OS X README, is a > must as more and more people I talk to seem a little dissatisfied with the > current Interpreter. > > Thoughts? > > Thanks, > > -S > > > > Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ ./sclang > init_OSC > compiling class library.. > NumPrimitives = 551 > compiling dir: > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary' > compiling dir: '/Library/Application > Support/SuperCollider/Extensions' > compiling dir: '/Users/scott/Library/Application > Support/SuperCollider/Extensions' > pass 1 done > Extension overwriting SimpleNumber:asTimeString > in file '/Library/Application > Support/SuperCollider/Extensions/ljpclasses/classes/LJP > Classes/Extensions/SimpleNumber-asTimeString.sc'. > Original method in file '/Common/Math/SimpleNumber.sc'. > WARNING: FunctionDef contains variable declarations and so will not be > inlined. > in file '/Users/scott/Library/Application > Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > line 93 char 14: > var psfr;? // Please ignore SC's > warning about not inlining this function. > psfr = SoundFile.new; > ----------------------------------- > numentries = 1124454 / 18350124 = 0.061 > Method Table Size 9205632 bytes > Number of Method Selectors 5738 > Number of Classes 3198 > big table size 73400496 > Number of Symbols 14287 > Byte Code Size 500140 > compiled 565 files in 4.92 seconds > compile done > // History.logFolder: /Users/scott/Library/Application > Support/SuperCollider/HistoryLogs > Class tree inited in 0.18 seconds > ERROR: A primitive was not bound. 0 550 > Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) > instance variables [15] > raw1 : Float 3.885846e-318 00000000 000C0048 > raw2 : Float 5.56268497783366e-309 00040000 04000304 > code : instance of Int8Array (0175CF30, size=4, set=1) > selectors : nil > constants : nil > prototypeFrame : instance of Array (0175CEE0, size=4, set=2) > context : nil > argNames : instance of SymbolArray (0175CEA0, size=4, set=1) > varNames : nil > sourceCode : nil > ownerClass : class SCView (01713D70) > name : Symbol 'prInit' > primitiveName : Symbol '_SCView_New' > filenameSymbol : Symbol > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Common/GUI/Base/SCView.sc' > charPos : Integer 6387 > } > ERROR: Primitive 'none' failed. > Failed. > RECEIVER: > nil > CALL STACK: > MethodError:reportError 0166AE30 > arg this = <instance of PrimitiveFailedError> > Nil:handleError 0166AEF0 > arg this = nil > arg error = <instance of PrimitiveFailedError> > Thread:handleError 0166AE90 > arg this = <instance of Thread> > arg error = <instance of PrimitiveFailedError> > Object:throw 0166ADD0 > arg this = <instance of PrimitiveFailedError> > Object:primitiveFailed 0166AD70 > arg this = nil > SCView:init 0166AD10 > arg this = <instance of SCTopView> > arg argParent = nil > arg argBounds = <instance of Rect> > SCContainerView:init 0166ACB0 > arg this = <instance of SCTopView> > arg argParent = nil > arg argBounds = <instance of Rect> > SCWindow:initSCWindow 016AA430 > arg this = <instance of SCWindow> > arg argName = "internal server" > arg argBounds = <instance of Rect> > arg resizable = false > arg border = true > arg scroll = false > Server:makeGui 01621CB0 > arg this = <instance of Server> > arg w = nil > var active = nil > var booter = nil > var killer = nil > var makeDefault = nil > var running = nil > var booting = nil > var stopped = nil > var bundling = nil > var recorder = nil > var scoper = nil > var countsViews = nil > var ctlr = nil > var dumping = false > var label = "internal server" > var gui = class CocoaGUI > var font = <instance of Font> > var volumeNum = nil > Server:makeWindow 0166AA70 > arg this = <instance of Server> > arg w = nil > OSXPlatform:startup 01716400 > arg this = <instance of OSXPlatform> > Main:startup 017163A0 > arg this = <instance of Main> > ERROR: A primitive was not bound. 0 550 > Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) > instance variables [15] > raw1 : Float 3.885727e-318 00000000 000C0030 > raw2 : Float 1.390671244457466e-309 00010000 01000001 > code : instance of Int8Array (02095A30, size=1, set=1) > selectors : nil > constants : nil > prototypeFrame : instance of Array (013A6FC0, size=1, set=1) > context : nil > argNames : instance of SymbolArray (013A7000, size=1, set=1) > varNames : nil > sourceCode : nil > ownerClass : class Meta_CocoaDocument (02091B70) > name : Symbol 'prGetIndexOfListener' > primitiveName : Symbol '_TextWindow_GetIndexOfListener' > filenameSymbol : Symbol > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Platform/osx/CocoaDocument.sc' > charPos : Integer 3010 > } > ERROR: Primitive '_BasicAt' failed. > Index not an Integer > RECEIVER: > Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) > indexed slots [0] > } > CALL STACK: > MethodError:reportError 013CAC50 > arg this = <instance of PrimitiveFailedError> > Nil:handleError 013CABF0 > arg this = nil > arg error = <instance of PrimitiveFailedError> > Thread:handleError 013CAB90 > arg this = <instance of Thread> > arg error = <instance of PrimitiveFailedError> > Thread:handleError 013CAB30 > arg this = <instance of Routine> > arg error = <instance of PrimitiveFailedError> > Object:throw 013CAAD0 > arg this = <instance of PrimitiveFailedError> > Object:primitiveFailed 013CAA70 > arg this = [*0] > < FunctionDef in Method Meta_CocoaDocument:startup > (no arguments > or variables) > Routine:prStart 0166AAD0 > arg this = <instance of Routine> > arg inval = 4.991427843 > > > > > > > scacinto wrote: > >> Hi all, >> >> I've recently become dissatisfied with the supercollider interpreter (for >> a number of reasons including no line numbers, no auto syntax >> highlighting, open windows all over causing headaches, etc.) and would >> like to be able to work with the sclang executable instead via another >> text editor. I've attempted to build the executable from the source using >> scons but get a host of errors. Has anyone had success building the >> executable from source on a MacIntel with Leopard? The error (if you >> care) is as follows. >> >> ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void >> syncOSCOffsetWithTimeOfDay()': >> Source/lang/LangPrimSource/PyrSched.cpp:290: error: 'gettimeofday' was not >> declared in this scope >> scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 >> scons: building terminated because of errors. >> >> If I edit out this section and try again, other files pop up with errors. >> >> I know there are instructions on the wiki for ways to build from source >> using XCode, and other means, but the instructions are rather cryptic, and >> some didn't work for me at all. Is there an easy (practical) way to do >> this that doesn't require hours of reading/editing? >> >> Another question. Has anyone tried the text-editor Smultron? It has a >> number of nice features, from auto syntax highlighting to auto line >> numbering, in-window (quicklook) document opening so all docs are >> contained within a single window, one need only click one to access it. >> It has multiple view support and some other niceties. It can execute >> scripts, inline posts, etc. It seems like one could easily script this >> program to work like SCVim and get some of the features missing in the >> interpreter. >> >> I would love to hear what people are thinking about the current UI >> Interpreter and their workarounds for working with the sclang executable >> with other programs. >> >> Thanks, >> >> - Scott >> >> >> > > -- =+=+=+=+=+=+=+=+=+=+=+=+= Stefan Nussbaumer Johnstrasse 18/2a A-1150 Vienna Austria ------------------------- T: +43 (0)1 956 20 35 M: +43 (0)699 11 33 41 79 _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorOn May 10, 2008, at 11:22 AM, Stefan Nussbaumer wrote:
Just because the error happened in SCView doesn't mean the fault is in SCView. Something had to ask the SCView to do what it was doing. Server:makeGui 01621CB0 Server:makeWindow 0166AA70 OSXPlatform:startup 01716400 It's really opening a server window. If SCView is removed, it will fail but with a different error. To support commandline sclang on OSX, the normal behavior of opening the server window in OSXPlatform:startup needs to be skipped somehow. hjh : H. James Harkins : 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: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorThe steps I posted here ages ago still work.
All source files still exist and there is no need to mod them at all but make some defines/additions to the project. The current xcode sclang project is wrong; it hooks the cocoa views primitives and other stuff that will make sclang fail but appear like all is good (launch, compile and finish); I will check in the changes soon to svn. I got no clue about scons - I dont use it on osx. x On Fri, May 9, 2008 at 6:10 PM, scacinto <scottpetersen@...> wrote: > > I just tried to build sclang following the directions on the wiki. The > directions seem to be seriously outdated and flawed in several respects, > including calling for the editing of several files which no longer seem to > exist. I'll post the output of my attempt to run the executable at the end > of this post. > > So I've tried two different methods described on the wiki, using scons and > using XCode, both of which failed. This seems like a bit of a problem, > especially if someone new (without the commitment of a long-time user) would > like to get sclang running on OS X. > > Could someone post clear instructions on how to compile SC with sclang using > scons or XCode if they have managed to do so? Also, please post the version > of XCode you are using (My failed attempt used 2.4.1) the OS (ex. 10.4.11) > and whether you are using a PPC or Intel mac. > > It seems that getting a reliable and simple method of compiling with the > sclang executable available for peruzal on the wiki, in the how-to page of > the sourceforge page or even, perhaps preferably, in the OS X README, is a > must as more and more people I talk to seem a little dissatisfied with the > current Interpreter. > > Thoughts? > > Thanks, > > -S > > > > Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ ./sclang > init_OSC > compiling class library.. > NumPrimitives = 551 > compiling dir: > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary' > compiling dir: '/Library/Application > Support/SuperCollider/Extensions' > compiling dir: '/Users/scott/Library/Application > Support/SuperCollider/Extensions' > pass 1 done > Extension overwriting SimpleNumber:asTimeString > in file '/Library/Application > Support/SuperCollider/Extensions/ljpclasses/classes/LJP > Classes/Extensions/SimpleNumber-asTimeString.sc'. > Original method in file '/Common/Math/SimpleNumber.sc'. > WARNING: FunctionDef contains variable declarations and so will not be > inlined. > in file '/Users/scott/Library/Application > Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > line 93 char 14: > var psfr;? // Please ignore SC's > warning about not inlining this function. > psfr = SoundFile.new; > ----------------------------------- > numentries = 1124454 / 18350124 = 0.061 > Method Table Size 9205632 bytes > Number of Method Selectors 5738 > Number of Classes 3198 > big table size 73400496 > Number of Symbols 14287 > Byte Code Size 500140 > compiled 565 files in 4.92 seconds > compile done > // History.logFolder: /Users/scott/Library/Application > Support/SuperCollider/HistoryLogs > Class tree inited in 0.18 seconds > ERROR: A primitive was not bound. 0 550 > Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) > instance variables [15] > raw1 : Float 3.885846e-318 00000000 000C0048 > raw2 : Float 5.56268497783366e-309 00040000 04000304 > code : instance of Int8Array (0175CF30, size=4, set=1) > selectors : nil > constants : nil > prototypeFrame : instance of Array (0175CEE0, size=4, set=2) > context : nil > argNames : instance of SymbolArray (0175CEA0, size=4, set=1) > varNames : nil > sourceCode : nil > ownerClass : class SCView (01713D70) > name : Symbol 'prInit' > primitiveName : Symbol '_SCView_New' > filenameSymbol : Symbol > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Common/GUI/Base/SCView.sc' > charPos : Integer 6387 > } > ERROR: Primitive 'none' failed. > Failed. > RECEIVER: > nil > CALL STACK: > MethodError:reportError 0166AE30 > arg this = <instance of PrimitiveFailedError> > Nil:handleError 0166AEF0 > arg this = nil > arg error = <instance of PrimitiveFailedError> > Thread:handleError 0166AE90 > arg this = <instance of Thread> > arg error = <instance of PrimitiveFailedError> > Object:throw 0166ADD0 > arg this = <instance of PrimitiveFailedError> > Object:primitiveFailed 0166AD70 > arg this = nil > SCView:init 0166AD10 > arg this = <instance of SCTopView> > arg argParent = nil > arg argBounds = <instance of Rect> > SCContainerView:init 0166ACB0 > arg this = <instance of SCTopView> > arg argParent = nil > arg argBounds = <instance of Rect> > SCWindow:initSCWindow 016AA430 > arg this = <instance of SCWindow> > arg argName = "internal server" > arg argBounds = <instance of Rect> > arg resizable = false > arg border = true > arg scroll = false > Server:makeGui 01621CB0 > arg this = <instance of Server> > arg w = nil > var active = nil > var booter = nil > var killer = nil > var makeDefault = nil > var running = nil > var booting = nil > var stopped = nil > var bundling = nil > var recorder = nil > var scoper = nil > var countsViews = nil > var ctlr = nil > var dumping = false > var label = "internal server" > var gui = class CocoaGUI > var font = <instance of Font> > var volumeNum = nil > Server:makeWindow 0166AA70 > arg this = <instance of Server> > arg w = nil > OSXPlatform:startup 01716400 > arg this = <instance of OSXPlatform> > Main:startup 017163A0 > arg this = <instance of Main> > ERROR: A primitive was not bound. 0 550 > Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) > instance variables [15] > raw1 : Float 3.885727e-318 00000000 000C0030 > raw2 : Float 1.390671244457466e-309 00010000 01000001 > code : instance of Int8Array (02095A30, size=1, set=1) > selectors : nil > constants : nil > prototypeFrame : instance of Array (013A6FC0, size=1, set=1) > context : nil > argNames : instance of SymbolArray (013A7000, size=1, set=1) > varNames : nil > sourceCode : nil > ownerClass : class Meta_CocoaDocument (02091B70) > name : Symbol 'prGetIndexOfListener' > primitiveName : Symbol '_TextWindow_GetIndexOfListener' > filenameSymbol : Symbol > '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Platform/osx/CocoaDocument.sc' > charPos : Integer 3010 > } > ERROR: Primitive '_BasicAt' failed. > Index not an Integer > RECEIVER: > Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) > indexed slots [0] > } > CALL STACK: > MethodError:reportError 013CAC50 > arg this = <instance of PrimitiveFailedError> > Nil:handleError 013CABF0 > arg this = nil > arg error = <instance of PrimitiveFailedError> > Thread:handleError 013CAB90 > arg this = <instance of Thread> > arg error = <instance of PrimitiveFailedError> > Thread:handleError 013CAB30 > arg this = <instance of Routine> > arg error = <instance of PrimitiveFailedError> > Object:throw 013CAAD0 > arg this = <instance of PrimitiveFailedError> > Object:primitiveFailed 013CAA70 > arg this = [*0] > < FunctionDef in Method Meta_CocoaDocument:startup > (no arguments > or variables) > Routine:prStart 0166AAD0 > arg this = <instance of Routine> > arg inval = 4.991427843 > > > > > > > > > scacinto wrote: > > > > Hi all, > > > > I've recently become dissatisfied with the supercollider interpreter (for > > a number of reasons including no line numbers, no auto syntax > > highlighting, open windows all over causing headaches, etc.) and would > > like to be able to work with the sclang executable instead via another > > text editor. I've attempted to build the executable from the source using > > scons but get a host of errors. Has anyone had success building the > > executable from source on a MacIntel with Leopard? The error (if you > > care) is as follows. > > > > ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void > > syncOSCOffsetWithTimeOfDay()': > > Source/lang/LangPrimSource/PyrSched.cpp:290: error: 'gettimeofday' was not > > declared in this scope > > scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 > > scons: building terminated because of errors. > > > > If I edit out this section and try again, other files pop up with errors. > > > > I know there are instructions on the wiki for ways to build from source > > using XCode, and other means, but the instructions are rather cryptic, and > > some didn't work for me at all. Is there an easy (practical) way to do > > this that doesn't require hours of reading/editing? > > > > Another question. Has anyone tried the text-editor Smultron? It has a > > number of nice features, from auto syntax highlighting to auto line > > numbering, in-window (quicklook) document opening so all docs are > > contained within a single window, one need only click one to access it. > > It has multiple view support and some other niceties. It can execute > > scripts, inline posts, etc. It seems like one could easily script this > > program to work like SCVim and get some of the features missing in the > > interpreter. > > > > I would love to hear what people are thinking about the current UI > > Interpreter and their workarounds for working with the sclang executable > > with other programs. > > > > Thanks, > > > > - Scott > > > > > > -- > View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html > > > Sent from the Supercollider - User mailing list archive at Nabble.com. > > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorWell - I'm going to put some notes on the wiki - basically there are no written instructions that work at this point to build supercollider with the command-line sclang as scons fails with multiple errors and the Xcode instructions also fail. If anyone has build sclang on os x, please either correct the wiki or post here and I'll update the wiki.
I'll continue to try to build, but I'm out of avenues I'm afraid. It's a shame OS X users are pigeonholed into using the GUI package with interpreter. -S
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorCould you define what steps you are speaking of and provide a link? Are they the same as the wiki? I've tried all of the instructions on the wiki with two different computers and OSes and both fail to compile correctly (with the modification of some files called for which are not present in the current revision as per my original post.)
-S
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editordone.
please svn update. try a build of sclang target. There is a new document 'README SCLang OSX' with steps to setup a library to work with sclang in os x. let me know how it goes. cheers, x On Sun, May 11, 2008 at 2:40 PM, scacinto <scottpetersen@...> wrote: > > Could you define what steps you are speaking of and provide a link? Are they > the same as the wiki? I've tried all of the instructions on the wiki with > two different computers and OSes and both fail to compile correctly (with > the modification of some files called for which are not present in the > current revision as per my original post.) > > -S > > > > > > > > blackrain-2 wrote: > > > > The steps I posted here ages ago still work. > > All source files still exist and there is no need to mod them at all > > but make some defines/additions to the project. > > The current xcode sclang project is wrong; it hooks the cocoa views > > primitives and other stuff that will make sclang fail but appear like > > all is good (launch, compile and finish); I will check in the changes > > soon to svn. > > I got no clue about scons - I dont use it on osx. > > > > x > > > > > > On Fri, May 9, 2008 at 6:10 PM, scacinto <scottpetersen@...> > > wrote: > >> > >> I just tried to build sclang following the directions on the wiki. The > >> directions seem to be seriously outdated and flawed in several respects, > >> including calling for the editing of several files which no longer seem > >> to > >> exist. I'll post the output of my attempt to run the executable at the > >> end > >> of this post. > >> > >> So I've tried two different methods described on the wiki, using scons > >> and > >> using XCode, both of which failed. This seems like a bit of a problem, > >> especially if someone new (without the commitment of a long-time user) > >> would > >> like to get sclang running on OS X. > >> > >> Could someone post clear instructions on how to compile SC with sclang > >> using > >> scons or XCode if they have managed to do so? Also, please post the > >> version > >> of XCode you are using (My failed attempt used 2.4.1) the OS (ex. > >> 10.4.11) > >> and whether you are using a PPC or Intel mac. > >> > >> It seems that getting a reliable and simple method of compiling with the > >> sclang executable available for peruzal on the wiki, in the how-to page > >> of > >> the sourceforge page or even, perhaps preferably, in the OS X README, is > >> a > >> must as more and more people I talk to seem a little dissatisfied with > >> the > >> current Interpreter. > >> > >> Thoughts? > >> > >> Thanks, > >> > >> -S > >> > >> > >> > >> Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ > >> ./sclang > >> init_OSC > >> compiling class library.. > >> NumPrimitives = 551 > >> compiling dir: > >> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary' > >> compiling dir: '/Library/Application > >> Support/SuperCollider/Extensions' > >> compiling dir: '/Users/scott/Library/Application > >> Support/SuperCollider/Extensions' > >> pass 1 done > >> Extension overwriting SimpleNumber:asTimeString > >> in file '/Library/Application > >> Support/SuperCollider/Extensions/ljpclasses/classes/LJP > >> Classes/Extensions/SimpleNumber-asTimeString.sc'. > >> Original method in file '/Common/Math/SimpleNumber.sc'. > >> WARNING: FunctionDef contains variable declarations and so will not be > >> inlined. > >> in file '/Users/scott/Library/Application > >> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > >> line 93 char 14: > >> var psfr;? // Please ignore SC's > >> warning about not inlining this function. > >> psfr = SoundFile.new; > >> ----------------------------------- > >> numentries = 1124454 / 18350124 = 0.061 > >> Method Table Size 9205632 bytes > >> Number of Method Selectors 5738 > >> Number of Classes 3198 > >> big table size 73400496 > >> Number of Symbols 14287 > >> Byte Code Size 500140 > >> compiled 565 files in 4.92 seconds > >> compile done > >> // History.logFolder: /Users/scott/Library/Application > >> Support/SuperCollider/HistoryLogs > >> Class tree inited in 0.18 seconds > >> ERROR: A primitive was not bound. 0 550 > >> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) > >> instance variables [15] > >> raw1 : Float 3.885846e-318 00000000 000C0048 > >> raw2 : Float 5.56268497783366e-309 00040000 04000304 > >> code : instance of Int8Array (0175CF30, size=4, set=1) > >> selectors : nil > >> constants : nil > >> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) > >> context : nil > >> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) > >> varNames : nil > >> sourceCode : nil > >> ownerClass : class SCView (01713D70) > >> name : Symbol 'prInit' > >> primitiveName : Symbol '_SCView_New' > >> filenameSymbol : Symbol > >> > >> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Common/GUI/Base/SCView.sc' > >> charPos : Integer 6387 > >> } > >> ERROR: Primitive 'none' failed. > >> Failed. > >> RECEIVER: > >> nil > >> CALL STACK: > >> MethodError:reportError 0166AE30 > >> arg this = <instance of PrimitiveFailedError> > >> Nil:handleError 0166AEF0 > >> arg this = nil > >> arg error = <instance of PrimitiveFailedError> > >> Thread:handleError 0166AE90 > >> arg this = <instance of Thread> > >> arg error = <instance of PrimitiveFailedError> > >> Object:throw 0166ADD0 > >> arg this = <instance of PrimitiveFailedError> > >> Object:primitiveFailed 0166AD70 > >> arg this = nil > >> SCView:init 0166AD10 > >> arg this = <instance of SCTopView> > >> arg argParent = nil > >> arg argBounds = <instance of Rect> > >> SCContainerView:init 0166ACB0 > >> arg this = <instance of SCTopView> > >> arg argParent = nil > >> arg argBounds = <instance of Rect> > >> SCWindow:initSCWindow 016AA430 > >> arg this = <instance of SCWindow> > >> arg argName = "internal server" > >> arg argBounds = <instance of Rect> > >> arg resizable = false > >> arg border = true > >> arg scroll = false > >> Server:makeGui 01621CB0 > >> arg this = <instance of Server> > >> arg w = nil > >> var active = nil > >> var booter = nil > >> var killer = nil > >> var makeDefault = nil > >> var running = nil > >> var booting = nil > >> var stopped = nil > >> var bundling = nil > >> var recorder = nil > >> var scoper = nil > >> var countsViews = nil > >> var ctlr = nil > >> var dumping = false > >> var label = "internal server" > >> var gui = class CocoaGUI > >> var font = <instance of Font> > >> var volumeNum = nil > >> Server:makeWindow 0166AA70 > >> arg this = <instance of Server> > >> arg w = nil > >> OSXPlatform:startup 01716400 > >> arg this = <instance of OSXPlatform> > >> Main:startup 017163A0 > >> arg this = <instance of Main> > >> ERROR: A primitive was not bound. 0 550 > >> Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) > >> instance variables [15] > >> raw1 : Float 3.885727e-318 00000000 000C0030 > >> raw2 : Float 1.390671244457466e-309 00010000 01000001 > >> code : instance of Int8Array (02095A30, size=1, set=1) > >> selectors : nil > >> constants : nil > >> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) > >> context : nil > >> argNames : instance of SymbolArray (013A7000, size=1, set=1) > >> varNames : nil > >> sourceCode : nil > >> ownerClass : class Meta_CocoaDocument (02091B70) > >> name : Symbol 'prGetIndexOfListener' > >> primitiveName : Symbol '_TextWindow_GetIndexOfListener' > >> filenameSymbol : Symbol > >> > >> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Platform/osx/CocoaDocument.sc' > >> charPos : Integer 3010 > >> } > >> ERROR: Primitive '_BasicAt' failed. > >> Index not an Integer > >> RECEIVER: > >> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) > >> indexed slots [0] > >> } > >> CALL STACK: > >> MethodError:reportError 013CAC50 > >> arg this = <instance of PrimitiveFailedError> > >> Nil:handleError 013CABF0 > >> arg this = nil > >> arg error = <instance of PrimitiveFailedError> > >> Thread:handleError 013CAB90 > >> arg this = <instance of Thread> > >> arg error = <instance of PrimitiveFailedError> > >> Thread:handleError 013CAB30 > >> arg this = <instance of Routine> > >> arg error = <instance of PrimitiveFailedError> > >> Object:throw 013CAAD0 > >> arg this = <instance of PrimitiveFailedError> > >> Object:primitiveFailed 013CAA70 > >> arg this = [*0] > >> < FunctionDef in Method Meta_CocoaDocument:startup > (no > >> arguments > >> or variables) > >> Routine:prStart 0166AAD0 > >> arg this = <instance of Routine> > >> arg inval = 4.991427843 > >> > >> > >> > >> > >> > >> > >> > >> > >> scacinto wrote: > >> > > >> > Hi all, > >> > > >> > I've recently become dissatisfied with the supercollider interpreter > >> (for > >> > a number of reasons including no line numbers, no auto syntax > >> > highlighting, open windows all over causing headaches, etc.) and would > >> > like to be able to work with the sclang executable instead via another > >> > text editor. I've attempted to build the executable from the source > >> using > >> > scons but get a host of errors. Has anyone had success building the > >> > executable from source on a MacIntel with Leopard? The error (if you > >> > care) is as follows. > >> > > >> > ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void > >> > syncOSCOffsetWithTimeOfDay()': > >> > Source/lang/LangPrimSource/PyrSched.cpp:290: error: 'gettimeofday' was > >> not > >> > declared in this scope > >> > scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 > >> > scons: building terminated because of errors. > >> > > >> > If I edit out this section and try again, other files pop up with > >> errors. > >> > > >> > I know there are instructions on the wiki for ways to build from > >> source > >> > using XCode, and other means, but the instructions are rather cryptic, > >> and > >> > some didn't work for me at all. Is there an easy (practical) way to > >> do > >> > this that doesn't require hours of reading/editing? > >> > > >> > Another question. Has anyone tried the text-editor Smultron? It has > >> a > >> > number of nice features, from auto syntax highlighting to auto line > >> > numbering, in-window (quicklook) document opening so all docs are > >> > contained within a single window, one need only click one to access > >> it. > >> > It has multiple view support and some other niceties. It can execute > >> > scripts, inline posts, etc. It seems like one could easily script > >> this > >> > program to work like SCVim and get some of the features missing in the > >> > interpreter. > >> > > >> > I would love to hear what people are thinking about the current UI > >> > Interpreter and their workarounds for working with the sclang > >> executable > >> > with other programs. > >> > > >> > Thanks, > >> > > >> > - Scott > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html > >> > >> > >> Sent from the Supercollider - User mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> sc-users mailing list > >> sc-users@... > >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >> > > _______________________________________________ > > sc-users mailing list > > sc-users@... > > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > > > > > > -- > View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html > > > Sent from the Supercollider - User mailing list archive at Nabble.com. > > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editorvery cool! I was just trying to work on this as well!
Best, Josh On May 11, 2008, at 9:18 PM, blackrain wrote: > done. > please svn update. > try a build of sclang target. > There is a new document 'README SCLang OSX' with steps to setup a > library to work with sclang in os x. > > let me know how it goes. > > cheers, > > x > > On Sun, May 11, 2008 at 2:40 PM, scacinto <scottpetersen@... > > wrote: >> >> Could you define what steps you are speaking of and provide a >> link? Are they >> the same as the wiki? I've tried all of the instructions on the >> wiki with >> two different computers and OSes and both fail to compile correctly >> (with >> the modification of some files called for which are not present in >> the >> current revision as per my original post.) >> >> -S >> >> >> >> >> >> >> >> blackrain-2 wrote: >>> >>> The steps I posted here ages ago still work. >>> All source files still exist and there is no need to mod them at all >>> but make some defines/additions to the project. >>> The current xcode sclang project is wrong; it hooks the cocoa views >>> primitives and other stuff that will make sclang fail but appear >>> like >>> all is good (launch, compile and finish); I will check in the >>> changes >>> soon to svn. >>> I got no clue about scons - I dont use it on osx. >>> >>> x >>> >>> >>> On Fri, May 9, 2008 at 6:10 PM, scacinto <scottpetersen@... >>> > >>> wrote: >>>> >>>> I just tried to build sclang following the directions on the >>>> wiki. The >>>> directions seem to be seriously outdated and flawed in several >>>> respects, >>>> including calling for the editing of several files which no >>>> longer seem >>>> to >>>> exist. I'll post the output of my attempt to run the executable >>>> at the >>>> end >>>> of this post. >>>> >>>> So I've tried two different methods described on the wiki, using >>>> scons >>>> and >>>> using XCode, both of which failed. This seems like a bit of a >>>> problem, >>>> especially if someone new (without the commitment of a long-time >>>> user) >>>> would >>>> like to get sclang running on OS X. >>>> >>>> Could someone post clear instructions on how to compile SC with >>>> sclang >>>> using >>>> scons or XCode if they have managed to do so? Also, please post >>>> the >>>> version >>>> of XCode you are using (My failed attempt used 2.4.1) the OS (ex. >>>> 10.4.11) >>>> and whether you are using a PPC or Intel mac. >>>> >>>> It seems that getting a reliable and simple method of compiling >>>> with the >>>> sclang executable available for peruzal on the wiki, in the how- >>>> to page >>>> of >>>> the sourceforge page or even, perhaps preferably, in the OS X >>>> README, is >>>> a >>>> must as more and more people I talk to seem a little dissatisfied >>>> with >>>> the >>>> current Interpreter. >>>> >>>> Thoughts? >>>> >>>> Thanks, >>>> >>>> -S >>>> >>>> >>>> >>>> Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ >>>> ./sclang >>>> init_OSC >>>> compiling class library.. >>>> NumPrimitives = 551 >>>> compiling dir: >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary' >>>> compiling dir: '/Library/Application >>>> Support/SuperCollider/Extensions' >>>> compiling dir: '/Users/scott/Library/Application >>>> Support/SuperCollider/Extensions' >>>> pass 1 done >>>> Extension overwriting SimpleNumber:asTimeString >>>> in file '/Library/Application >>>> Support/SuperCollider/Extensions/ljpclasses/classes/LJP >>>> Classes/Extensions/SimpleNumber-asTimeString.sc'. >>>> Original method in file '/Common/Math/ >>>> SimpleNumber.sc'. >>>> WARNING: FunctionDef contains variable declarations and so will >>>> not be >>>> inlined. >>>> in file '/Users/scott/Library/Application >>>> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' >>>> line 93 char 14: >>>> var psfr;? // Please >>>> ignore SC's >>>> warning about not inlining this function. >>>> psfr = SoundFile.new; >>>> ----------------------------------- >>>> numentries = 1124454 / 18350124 = 0.061 >>>> Method Table Size 9205632 bytes >>>> Number of Method Selectors 5738 >>>> Number of Classes 3198 >>>> big table size 73400496 >>>> Number of Symbols 14287 >>>> Byte Code Size 500140 >>>> compiled 565 files in 4.92 seconds >>>> compile done >>>> // History.logFolder: /Users/scott/Library/Application >>>> Support/SuperCollider/HistoryLogs >>>> Class tree inited in 0.18 seconds >>>> ERROR: A primitive was not bound. 0 550 >>>> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) >>>> instance variables [15] >>>> raw1 : Float 3.885846e-318 00000000 000C0048 >>>> raw2 : Float 5.56268497783366e-309 00040000 04000304 >>>> code : instance of Int8Array (0175CF30, size=4, set=1) >>>> selectors : nil >>>> constants : nil >>>> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) >>>> context : nil >>>> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) >>>> varNames : nil >>>> sourceCode : nil >>>> ownerClass : class SCView (01713D70) >>>> name : Symbol 'prInit' >>>> primitiveName : Symbol '_SCView_New' >>>> filenameSymbol : Symbol >>>> >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary/Common/GUI/Base/SCView.sc' >>>> charPos : Integer 6387 >>>> } >>>> ERROR: Primitive 'none' failed. >>>> Failed. >>>> RECEIVER: >>>> nil >>>> CALL STACK: >>>> MethodError:reportError 0166AE30 >>>> arg this = <instance of PrimitiveFailedError> >>>> Nil:handleError 0166AEF0 >>>> arg this = nil >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 0166AE90 >>>> arg this = <instance of Thread> >>>> arg error = <instance of PrimitiveFailedError> >>>> Object:throw 0166ADD0 >>>> arg this = <instance of PrimitiveFailedError> >>>> Object:primitiveFailed 0166AD70 >>>> arg this = nil >>>> SCView:init 0166AD10 >>>> arg this = <instance of SCTopView> >>>> arg argParent = nil >>>> arg argBounds = <instance of Rect> >>>> SCContainerView:init 0166ACB0 >>>> arg this = <instance of SCTopView> >>>> arg argParent = nil >>>> arg argBounds = <instance of Rect> >>>> SCWindow:initSCWindow 016AA430 >>>> arg this = <instance of SCWindow> >>>> arg argName = "internal server" >>>> arg argBounds = <instance of Rect> >>>> arg resizable = false >>>> arg border = true >>>> arg scroll = false >>>> Server:makeGui 01621CB0 >>>> arg this = <instance of Server> >>>> arg w = nil >>>> var active = nil >>>> var booter = nil >>>> var killer = nil >>>> var makeDefault = nil >>>> var running = nil >>>> var booting = nil >>>> var stopped = nil >>>> var bundling = nil >>>> var recorder = nil >>>> var scoper = nil >>>> var countsViews = nil >>>> var ctlr = nil >>>> var dumping = false >>>> var label = "internal server" >>>> var gui = class CocoaGUI >>>> var font = <instance of Font> >>>> var volumeNum = nil >>>> Server:makeWindow 0166AA70 >>>> arg this = <instance of Server> >>>> arg w = nil >>>> OSXPlatform:startup 01716400 >>>> arg this = <instance of OSXPlatform> >>>> Main:startup 017163A0 >>>> arg this = <instance of Main> >>>> ERROR: A primitive was not bound. 0 550 >>>> Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) >>>> instance variables [15] >>>> raw1 : Float 3.885727e-318 00000000 000C0030 >>>> raw2 : Float 1.390671244457466e-309 00010000 01000001 >>>> code : instance of Int8Array (02095A30, size=1, set=1) >>>> selectors : nil >>>> constants : nil >>>> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) >>>> context : nil >>>> argNames : instance of SymbolArray (013A7000, size=1, set=1) >>>> varNames : nil >>>> sourceCode : nil >>>> ownerClass : class Meta_CocoaDocument (02091B70) >>>> name : Symbol 'prGetIndexOfListener' >>>> primitiveName : Symbol '_TextWindow_GetIndexOfListener' >>>> filenameSymbol : Symbol >>>> >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary/Platform/osx/CocoaDocument.sc' >>>> charPos : Integer 3010 >>>> } >>>> ERROR: Primitive '_BasicAt' failed. >>>> Index not an Integer >>>> RECEIVER: >>>> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) >>>> indexed slots [0] >>>> } >>>> CALL STACK: >>>> MethodError:reportError 013CAC50 >>>> arg this = <instance of PrimitiveFailedError> >>>> Nil:handleError 013CABF0 >>>> arg this = nil >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 013CAB90 >>>> arg this = <instance of Thread> >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 013CAB30 >>>> arg this = <instance of Routine> >>>> arg error = <instance of PrimitiveFailedError> >>>> Object:throw 013CAAD0 >>>> arg this = <instance of PrimitiveFailedError> >>>> Object:primitiveFailed 013CAA70 >>>> arg this = [*0] >>>> < FunctionDef in Method Meta_CocoaDocument:startup > (no >>>> arguments >>>> or variables) >>>> Routine:prStart 0166AAD0 >>>> arg this = <instance of Routine> >>>> arg inval = 4.991427843 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> scacinto wrote: >>>>> >>>>> Hi all, >>>>> >>>>> I've recently become dissatisfied with the supercollider >>>>> interpreter >>>> (for >>>>> a number of reasons including no line numbers, no auto syntax >>>>> highlighting, open windows all over causing headaches, etc.) and >>>>> would >>>>> like to be able to work with the sclang executable instead via >>>>> another >>>>> text editor. I've attempted to build the executable from the >>>>> source >>>> using >>>>> scons but get a host of errors. Has anyone had success building >>>>> the >>>>> executable from source on a MacIntel with Leopard? The error >>>>> (if you >>>>> care) is as follows. >>>>> >>>>> ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void >>>>> syncOSCOffsetWithTimeOfDay()': >>>>> Source/lang/LangPrimSource/PyrSched.cpp:290: error: >>>>> 'gettimeofday' was >>>> not >>>>> declared in this scope >>>>> scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 >>>>> scons: building terminated because of errors. >>>>> >>>>> If I edit out this section and try again, other files pop up with >>>> errors. >>>>> >>>>> I know there are instructions on the wiki for ways to build from >>>> source >>>>> using XCode, and other means, but the instructions are rather >>>>> cryptic, >>>> and >>>>> some didn't work for me at all. Is there an easy (practical) >>>>> way to >>>> do >>>>> this that doesn't require hours of reading/editing? >>>>> >>>>> Another question. Has anyone tried the text-editor Smultron? >>>>> It has >>>> a >>>>> number of nice features, from auto syntax highlighting to auto >>>>> line >>>>> numbering, in-window (quicklook) document opening so all docs are >>>>> contained within a single window, one need only click one to >>>>> access >>>> it. >>>>> It has multiple view support and some other niceties. It can >>>>> execute >>>>> scripts, inline posts, etc. It seems like one could easily script >>>> this >>>>> program to work like SCVim and get some of the features missing >>>>> in the >>>>> interpreter. >>>>> >>>>> I would love to hear what people are thinking about the current UI >>>>> Interpreter and their workarounds for working with the sclang >>>> executable >>>>> with other programs. >>>>> >>>>> Thanks, >>>>> >>>>> - Scott >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html >>>> >>>> >>>> Sent from the Supercollider - User mailing list archive at >>>> Nabble.com. >>>> >>>> _______________________________________________ >>>> sc-users mailing list >>>> sc-users@... >>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>> >>> _______________________________________________ >>> sc-users mailing list >>> sc-users@... >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html >> >> >> Sent from the Supercollider - User mailing list archive at >> Nabble.com. >> >> _______________________________________________ >> sc-users mailing list >> sc-users@... >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >> > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users ****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editorword! downloading ahora!
-S
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorHi x,
I had a problem building due to conflicting symbols. Commenting out this in SC_LanguageClient.cpp seems to have worked: //#if !defined(HAVE_SPEECH) //void initSpeechPrimitives(); //void initSpeechPrimitives() //{ //} //#endif // HAVE_SPEECH But there is probably a better solution??? Best, Josh On May 11, 2008, at 9:18 PM, blackrain wrote: > done. > please svn update. > try a build of sclang target. > There is a new document 'README SCLang OSX' with steps to setup a > library to work with sclang in os x. > > let me know how it goes. > > cheers, > > x > > On Sun, May 11, 2008 at 2:40 PM, scacinto <scottpetersen@... > > wrote: >> >> Could you define what steps you are speaking of and provide a >> link? Are they >> the same as the wiki? I've tried all of the instructions on the >> wiki with >> two different computers and OSes and both fail to compile correctly >> (with >> the modification of some files called for which are not present in >> the >> current revision as per my original post.) >> >> -S >> >> >> >> >> >> >> >> blackrain-2 wrote: >>> >>> The steps I posted here ages ago still work. >>> All source files still exist and there is no need to mod them at all >>> but make some defines/additions to the project. >>> The current xcode sclang project is wrong; it hooks the cocoa views >>> primitives and other stuff that will make sclang fail but appear >>> like >>> all is good (launch, compile and finish); I will check in the >>> changes >>> soon to svn. >>> I got no clue about scons - I dont use it on osx. >>> >>> x >>> >>> >>> On Fri, May 9, 2008 at 6:10 PM, scacinto <scottpetersen@... >>> > >>> wrote: >>>> >>>> I just tried to build sclang following the directions on the >>>> wiki. The >>>> directions seem to be seriously outdated and flawed in several >>>> respects, >>>> including calling for the editing of several files which no >>>> longer seem >>>> to >>>> exist. I'll post the output of my attempt to run the executable >>>> at the >>>> end >>>> of this post. >>>> >>>> So I've tried two different methods described on the wiki, using >>>> scons >>>> and >>>> using XCode, both of which failed. This seems like a bit of a >>>> problem, >>>> especially if someone new (without the commitment of a long-time >>>> user) >>>> would >>>> like to get sclang running on OS X. >>>> >>>> Could someone post clear instructions on how to compile SC with >>>> sclang >>>> using >>>> scons or XCode if they have managed to do so? Also, please post >>>> the >>>> version >>>> of XCode you are using (My failed attempt used 2.4.1) the OS (ex. >>>> 10.4.11) >>>> and whether you are using a PPC or Intel mac. >>>> >>>> It seems that getting a reliable and simple method of compiling >>>> with the >>>> sclang executable available for peruzal on the wiki, in the how- >>>> to page >>>> of >>>> the sourceforge page or even, perhaps preferably, in the OS X >>>> README, is >>>> a >>>> must as more and more people I talk to seem a little dissatisfied >>>> with >>>> the >>>> current Interpreter. >>>> >>>> Thoughts? >>>> >>>> Thanks, >>>> >>>> -S >>>> >>>> >>>> >>>> Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ >>>> ./sclang >>>> init_OSC >>>> compiling class library.. >>>> NumPrimitives = 551 >>>> compiling dir: >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary' >>>> compiling dir: '/Library/Application >>>> Support/SuperCollider/Extensions' >>>> compiling dir: '/Users/scott/Library/Application >>>> Support/SuperCollider/Extensions' >>>> pass 1 done >>>> Extension overwriting SimpleNumber:asTimeString >>>> in file '/Library/Application >>>> Support/SuperCollider/Extensions/ljpclasses/classes/LJP >>>> Classes/Extensions/SimpleNumber-asTimeString.sc'. >>>> Original method in file '/Common/Math/ >>>> SimpleNumber.sc'. >>>> WARNING: FunctionDef contains variable declarations and so will >>>> not be >>>> inlined. >>>> in file '/Users/scott/Library/Application >>>> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' >>>> line 93 char 14: >>>> var psfr;? // Please >>>> ignore SC's >>>> warning about not inlining this function. >>>> psfr = SoundFile.new; >>>> ----------------------------------- >>>> numentries = 1124454 / 18350124 = 0.061 >>>> Method Table Size 9205632 bytes >>>> Number of Method Selectors 5738 >>>> Number of Classes 3198 >>>> big table size 73400496 >>>> Number of Symbols 14287 >>>> Byte Code Size 500140 >>>> compiled 565 files in 4.92 seconds >>>> compile done >>>> // History.logFolder: /Users/scott/Library/Application >>>> Support/SuperCollider/HistoryLogs >>>> Class tree inited in 0.18 seconds >>>> ERROR: A primitive was not bound. 0 550 >>>> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) >>>> instance variables [15] >>>> raw1 : Float 3.885846e-318 00000000 000C0048 >>>> raw2 : Float 5.56268497783366e-309 00040000 04000304 >>>> code : instance of Int8Array (0175CF30, size=4, set=1) >>>> selectors : nil >>>> constants : nil >>>> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) >>>> context : nil >>>> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) >>>> varNames : nil >>>> sourceCode : nil >>>> ownerClass : class SCView (01713D70) >>>> name : Symbol 'prInit' >>>> primitiveName : Symbol '_SCView_New' >>>> filenameSymbol : Symbol >>>> >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary/Common/GUI/Base/SCView.sc' >>>> charPos : Integer 6387 >>>> } >>>> ERROR: Primitive 'none' failed. >>>> Failed. >>>> RECEIVER: >>>> nil >>>> CALL STACK: >>>> MethodError:reportError 0166AE30 >>>> arg this = <instance of PrimitiveFailedError> >>>> Nil:handleError 0166AEF0 >>>> arg this = nil >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 0166AE90 >>>> arg this = <instance of Thread> >>>> arg error = <instance of PrimitiveFailedError> >>>> Object:throw 0166ADD0 >>>> arg this = <instance of PrimitiveFailedError> >>>> Object:primitiveFailed 0166AD70 >>>> arg this = nil >>>> SCView:init 0166AD10 >>>> arg this = <instance of SCTopView> >>>> arg argParent = nil >>>> arg argBounds = <instance of Rect> >>>> SCContainerView:init 0166ACB0 >>>> arg this = <instance of SCTopView> >>>> arg argParent = nil >>>> arg argBounds = <instance of Rect> >>>> SCWindow:initSCWindow 016AA430 >>>> arg this = <instance of SCWindow> >>>> arg argName = "internal server" >>>> arg argBounds = <instance of Rect> >>>> arg resizable = false >>>> arg border = true >>>> arg scroll = false >>>> Server:makeGui 01621CB0 >>>> arg this = <instance of Server> >>>> arg w = nil >>>> var active = nil >>>> var booter = nil >>>> var killer = nil >>>> var makeDefault = nil >>>> var running = nil >>>> var booting = nil >>>> var stopped = nil >>>> var bundling = nil >>>> var recorder = nil >>>> var scoper = nil >>>> var countsViews = nil >>>> var ctlr = nil >>>> var dumping = false >>>> var label = "internal server" >>>> var gui = class CocoaGUI >>>> var font = <instance of Font> >>>> var volumeNum = nil >>>> Server:makeWindow 0166AA70 >>>> arg this = <instance of Server> >>>> arg w = nil >>>> OSXPlatform:startup 01716400 >>>> arg this = <instance of OSXPlatform> >>>> Main:startup 017163A0 >>>> arg this = <instance of Main> >>>> ERROR: A primitive was not bound. 0 550 >>>> Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) >>>> instance variables [15] >>>> raw1 : Float 3.885727e-318 00000000 000C0030 >>>> raw2 : Float 1.390671244457466e-309 00010000 01000001 >>>> code : instance of Int8Array (02095A30, size=1, set=1) >>>> selectors : nil >>>> constants : nil >>>> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) >>>> context : nil >>>> argNames : instance of SymbolArray (013A7000, size=1, set=1) >>>> varNames : nil >>>> sourceCode : nil >>>> ownerClass : class Meta_CocoaDocument (02091B70) >>>> name : Symbol 'prGetIndexOfListener' >>>> primitiveName : Symbol '_TextWindow_GetIndexOfListener' >>>> filenameSymbol : Symbol >>>> >>>> '/Applications/Audio_Applications/SuperCollider3/build/ >>>> SCClassLibrary/Platform/osx/CocoaDocument.sc' >>>> charPos : Integer 3010 >>>> } >>>> ERROR: Primitive '_BasicAt' failed. >>>> Index not an Integer >>>> RECEIVER: >>>> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) >>>> indexed slots [0] >>>> } >>>> CALL STACK: >>>> MethodError:reportError 013CAC50 >>>> arg this = <instance of PrimitiveFailedError> >>>> Nil:handleError 013CABF0 >>>> arg this = nil >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 013CAB90 >>>> arg this = <instance of Thread> >>>> arg error = <instance of PrimitiveFailedError> >>>> Thread:handleError 013CAB30 >>>> arg this = <instance of Routine> >>>> arg error = <instance of PrimitiveFailedError> >>>> Object:throw 013CAAD0 >>>> arg this = <instance of PrimitiveFailedError> >>>> Object:primitiveFailed 013CAA70 >>>> arg this = [*0] >>>> < FunctionDef in Method Meta_CocoaDocument:startup > (no >>>> arguments >>>> or variables) >>>> Routine:prStart 0166AAD0 >>>> arg this = <instance of Routine> >>>> arg inval = 4.991427843 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> scacinto wrote: >>>>> >>>>> Hi all, >>>>> >>>>> I've recently become dissatisfied with the supercollider >>>>> interpreter >>>> (for >>>>> a number of reasons including no line numbers, no auto syntax >>>>> highlighting, open windows all over causing headaches, etc.) and >>>>> would >>>>> like to be able to work with the sclang executable instead via >>>>> another >>>>> text editor. I've attempted to build the executable from the >>>>> source >>>> using >>>>> scons but get a host of errors. Has anyone had success building >>>>> the >>>>> executable from source on a MacIntel with Leopard? The error >>>>> (if you >>>>> care) is as follows. >>>>> >>>>> ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void >>>>> syncOSCOffsetWithTimeOfDay()': >>>>> Source/lang/LangPrimSource/PyrSched.cpp:290: error: >>>>> 'gettimeofday' was >>>> not >>>>> declared in this scope >>>>> scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 >>>>> scons: building terminated because of errors. >>>>> >>>>> If I edit out this section and try again, other files pop up with >>>> errors. >>>>> >>>>> I know there are instructions on the wiki for ways to build from >>>> source >>>>> using XCode, and other means, but the instructions are rather >>>>> cryptic, >>>> and >>>>> some didn't work for me at all. Is there an easy (practical) >>>>> way to >>>> do >>>>> this that doesn't require hours of reading/editing? >>>>> >>>>> Another question. Has anyone tried the text-editor Smultron? >>>>> It has >>>> a >>>>> number of nice features, from auto syntax highlighting to auto >>>>> line >>>>> numbering, in-window (quicklook) document opening so all docs are >>>>> contained within a single window, one need only click one to >>>>> access >>>> it. >>>>> It has multiple view support and some other niceties. It can >>>>> execute >>>>> scripts, inline posts, etc. It seems like one could easily script >>>> this >>>>> program to work like SCVim and get some of the features missing >>>>> in the >>>>> interpreter. >>>>> >>>>> I would love to hear what people are thinking about the current UI >>>>> Interpreter and their workarounds for working with the sclang >>>> executable >>>>> with other programs. >>>>> >>>>> Thanks, >>>>> >>>>> - Scott >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html >>>> >>>> >>>> Sent from the Supercollider - User mailing list archive at >>>> Nabble.com. >>>> >>>> _______________________________________________ >>>> sc-users mailing list >>>> sc-users@... >>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>> >>> _______________________________________________ >>> sc-users mailing list >>> sc-users@... >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html >> >> >> Sent from the Supercollider - User mailing list archive at >> Nabble.com. >> >> _______________________________________________ >> sc-users mailing list >> sc-users@... >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >> > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users ****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorOK - can you define what you mean by "build the sclang target"? I've opened the language project in XCode and built the sclang under the Target heading, but following the rest of your directions the execution of the binary fails with the following error.
Waz:~/SuperCollider3/build scott$ sclang -d ~/sclang/init_OSC compiling class library.. NumPrimitives = 551 compiling dir: '/Users/scott/sclang/SCClassLibrary' compiling dir: '/Library/Application Support/SuperCollider/Extensions' compiling dir: '/Users/scott/Library/Application Support/SuperCollider/Extensions' pass 1 done ERROR: Parse error in file '/Platform/osx/OSXPlatform.sc' line 17 char 24: if ( this.hasFeature( /?emacs ) ) { Document.implementationClass.startup; ----------------------------------- ERROR: file '/Platform/osx/OSXPlatform.sc' parse failed error parsing Extension overwriting SimpleNumber:asTimeString in file '/Library/Application Support/SuperCollider/Extensions/ljpclasses/classes/LJP Classes/Extensions/SimpleNumber-asTimeString.sc'. Original method in file '/Common/Math/SimpleNumber.sc'. WARNING: FunctionDef contains variable declarations and so will not be inlined. in file '/Users/scott/Library/Application Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' line 93 char 14: var psfr;? // Please ignore SC's warning about not inlining this function. psfr = SoundFile.new; I'm sorry if I'm missing something obvious, but ... thanks, -S
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/Editoroops!
I didnt check the deployment target was building clean. its odd cause development was and it didnt look for the symbol definition you quote. anyways fixed. please update =) x On Sun, May 11, 2008 at 11:51 PM, Josh Parmenter <josh@...> wrote: > Hi x, > > I had a problem building due to conflicting symbols. Commenting out > this in SC_LanguageClient.cpp seems to have worked: > > //#if !defined(HAVE_SPEECH) > //void initSpeechPrimitives(); > //void initSpeechPrimitives() > //{ > //} > //#endif // HAVE_SPEECH > > But there is probably a better solution??? > > > Best, > > Josh > > On May 11, 2008, at 9:18 PM, blackrain wrote: > > > > > done. > > please svn update. > > try a build of sclang target. > > There is a new document 'README SCLang OSX' with steps to setup a > > library to work with sclang in os x. > > > > let me know how it goes. > > > > cheers, > > > > x > > > > On Sun, May 11, 2008 at 2:40 PM, scacinto <scottpetersen@... > > > wrote: > >> > >> Could you define what steps you are speaking of and provide a > >> link? Are they > >> the same as the wiki? I've tried all of the instructions on the > >> wiki with > >> two different computers and OSes and both fail to compile correctly > >> (with > >> the modification of some files called for which are not present in > >> the > >> current revision as per my original post.) > >> > >> -S > >> > >> > >> > >> > >> > >> > >> > >> blackrain-2 wrote: > >>> > >>> The steps I posted here ages ago still work. > >>> All source files still exist and there is no need to mod them at all > >>> but make some defines/additions to the project. > >>> The current xcode sclang project is wrong; it hooks the cocoa views > >>> primitives and other stuff that will make sclang fail but appear > >>> like > >>> all is good (launch, compile and finish); I will check in the > >>> changes > >>> soon to svn. > >>> I got no clue about scons - I dont use it on osx. > >>> > >>> x > >>> > >>> > >>> On Fri, May 9, 2008 at 6:10 PM, scacinto <scottpetersen@... > >>> > > >>> wrote: > >>>> > >>>> I just tried to build sclang following the directions on the > >>>> wiki. The > >>>> directions seem to be seriously outdated and flawed in several > >>>> respects, > >>>> including calling for the editing of several files which no > >>>> longer seem > >>>> to > >>>> exist. I'll post the output of my attempt to run the executable > >>>> at the > >>>> end > >>>> of this post. > >>>> > >>>> So I've tried two different methods described on the wiki, using > >>>> scons > >>>> and > >>>> using XCode, both of which failed. This seems like a bit of a > >>>> problem, > >>>> especially if someone new (without the commitment of a long-time > >>>> user) > >>>> would > >>>> like to get sclang running on OS X. > >>>> > >>>> Could someone post clear instructions on how to compile SC with > >>>> sclang > >>>> using > >>>> scons or XCode if they have managed to do so? Also, please post > >>>> the > >>>> version > >>>> of XCode you are using (My failed attempt used 2.4.1) the OS (ex. > >>>> 10.4.11) > >>>> and whether you are using a PPC or Intel mac. > >>>> > >>>> It seems that getting a reliable and simple method of compiling > >>>> with the > >>>> sclang executable available for peruzal on the wiki, in the how- > >>>> to page > >>>> of > >>>> the sourceforge page or even, perhaps preferably, in the OS X > >>>> README, is > >>>> a > >>>> must as more and more people I talk to seem a little dissatisfied > >>>> with > >>>> the > >>>> current Interpreter. > >>>> > >>>> Thoughts? > >>>> > >>>> Thanks, > >>>> > >>>> -S > >>>> > >>>> > >>>> > >>>> Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ > >>>> ./sclang > >>>> init_OSC > >>>> compiling class library.. > >>>> NumPrimitives = 551 > >>>> compiling dir: > >>>> '/Applications/Audio_Applications/SuperCollider3/build/ > >>>> SCClassLibrary' > >>>> compiling dir: '/Library/Application > >>>> Support/SuperCollider/Extensions' > >>>> compiling dir: '/Users/scott/Library/Application > >>>> Support/SuperCollider/Extensions' > >>>> pass 1 done > >>>> Extension overwriting SimpleNumber:asTimeString > >>>> in file '/Library/Application > >>>> Support/SuperCollider/Extensions/ljpclasses/classes/LJP > >>>> Classes/Extensions/SimpleNumber-asTimeString.sc'. > >>>> Original method in file '/Common/Math/ > >>>> SimpleNumber.sc'. > >>>> WARNING: FunctionDef contains variable declarations and so will > >>>> not be > >>>> inlined. > >>>> in file '/Users/scott/Library/Application > >>>> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > >>>> line 93 char 14: > >>>> var psfr;? // Please > >>>> ignore SC's > >>>> warning about not inlining this function. > >>>> psfr = SoundFile.new; > >>>> ----------------------------------- > >>>> numentries = 1124454 / 18350124 = 0.061 > >>>> Method Table Size 9205632 bytes > >>>> Number of Method Selectors 5738 > >>>> Number of Classes 3198 > >>>> big table size 73400496 > >>>> Number of Symbols 14287 > >>>> Byte Code Size 500140 > >>>> compiled 565 files in 4.92 seconds > >>>> compile done > >>>> // History.logFolder: /Users/scott/Library/Application > >>>> Support/SuperCollider/HistoryLogs > >>>> Class tree inited in 0.18 seconds > >>>> ERROR: A primitive was not bound. 0 550 > >>>> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) > >>>> instance variables [15] > >>>> raw1 : Float 3.885846e-318 00000000 000C0048 > >>>> raw2 : Float 5.56268497783366e-309 00040000 04000304 > >>>> code : instance of Int8Array (0175CF30, size=4, set=1) > >>>> selectors : nil > >>>> constants : nil > >>>> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) > >>>> context : nil > >>>> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) > >>>> varNames : nil > >>>> sourceCode : nil > >>>> ownerClass : class SCView (01713D70) > >>>> name : Symbol 'prInit' > >>>> primitiveName : Symbol '_SCView_New' > >>>> filenameSymbol : Symbol > >>>> > >>>> '/Applications/Audio_Applications/SuperCollider3/build/ > >>>> SCClassLibrary/Common/GUI/Base/SCView.sc' > >>>> charPos : Integer 6387 > >>>> } > >>>> ERROR: Primitive 'none' failed. > >>>> Failed. > >>>> RECEIVER: > >>>> nil > >>>> CALL STACK: > >>>> MethodError:reportError 0166AE30 > >>>> arg this = <instance of PrimitiveFailedError> > >>>> Nil:handleError 0166AEF0 > >>>> arg this = nil > >>>> arg error = <instance of PrimitiveFailedError> > >>>> Thread:handleError 0166AE90 > >>>> arg this = <instance of Thread> > >>>> arg error = <instance of PrimitiveFailedError> > >>>> Object:throw 0166ADD0 > >>>> arg this = <instance of PrimitiveFailedError> > >>>> Object:primitiveFailed 0166AD70 > >>>> arg this = nil > >>>> SCView:init 0166AD10 > >>>> arg this = <instance of SCTopView> > >>>> arg argParent = nil > >>>> arg argBounds = <instance of Rect> > >>>> SCContainerView:init 0166ACB0 > >>>> arg this = <instance of SCTopView> > >>>> arg argParent = nil > >>>> arg argBounds = <instance of Rect> > >>>> SCWindow:initSCWindow 016AA430 > >>>> arg this = <instance of SCWindow> > >>>> arg argName = "internal server" > >>>> arg argBounds = <instance of Rect> > >>>> arg resizable = false > >>>> arg border = true > >>>> arg scroll = false > >>>> Server:makeGui 01621CB0 > >>>> arg this = <instance of Server> > >>>> arg w = nil > >>>> var active = nil > >>>> var booter = nil > >>>> var killer = nil > >>>> var makeDefault = nil > >>>> var running = nil > >>>> var booting = nil > >>>> var stopped = nil > >>>> var bundling = nil > >>>> var recorder = nil > >>>> var scoper = nil > >>>> var countsViews = nil > >>>> var ctlr = nil > >>>> var dumping = false > >>>> var label = "internal server" > >>>> var gui = class CocoaGUI > >>>> var font = <instance of Font> > >>>> var volumeNum = nil > >>>> Server:makeWindow 0166AA70 > >>>> arg this = <instance of Server> > >>>> arg w = nil > >>>> OSXPlatform:startup 01716400 > >>>> arg this = <instance of OSXPlatform> > >>>> Main:startup 017163A0 > >>>> arg this = <instance of Main> > >>>> ERROR: A primitive was not bound. 0 550 > >>>> Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) > >>>> instance variables [15] > >>>> raw1 : Float 3.885727e-318 00000000 000C0030 > >>>> raw2 : Float 1.390671244457466e-309 00010000 01000001 > >>>> code : instance of Int8Array (02095A30, size=1, set=1) > >>>> selectors : nil > >>>> constants : nil > >>>> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) > >>>> context : nil > >>>> argNames : instance of SymbolArray (013A7000, size=1, set=1) > >>>> varNames : nil > >>>> sourceCode : nil > >>>> ownerClass : class Meta_CocoaDocument (02091B70) > >>>> name : Symbol 'prGetIndexOfListener' > >>>> primitiveName : Symbol '_TextWindow_GetIndexOfListener' > >>>> filenameSymbol : Symbol > >>>> > >>>> '/Applications/Audio_Applications/SuperCollider3/build/ > >>>> SCClassLibrary/Platform/osx/CocoaDocument.sc' > >>>> charPos : Integer 3010 > >>>> } > >>>> ERROR: Primitive '_BasicAt' failed. > >>>> Index not an Integer > >>>> RECEIVER: > >>>> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) > >>>> indexed slots [0] > >>>> } > >>>> CALL STACK: > >>>> MethodError:reportError 013CAC50 > >>>> arg this = <instance of PrimitiveFailedError> > >>>> Nil:handleError 013CABF0 > >>>> arg this = nil > >>>> arg error = <instance of PrimitiveFailedError> > >>>> Thread:handleError 013CAB90 > >>>> arg this = <instance of Thread> > >>>> arg error = <instance of PrimitiveFailedError> > >>>> Thread:handleError 013CAB30 > >>>> arg this = <instance of Routine> > >>>> arg error = <instance of PrimitiveFailedError> > >>>> Object:throw 013CAAD0 > >>>> arg this = <instance of PrimitiveFailedError> > >>>> Object:primitiveFailed 013CAA70 > >>>> arg this = [*0] > >>>> < FunctionDef in Method Meta_CocoaDocument:startup > (no > >>>> arguments > >>>> or variables) > >>>> Routine:prStart 0166AAD0 > >>>> arg this = <instance of Routine> > >>>> arg inval = 4.991427843 > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> scacinto wrote: > >>>>> > >>>>> Hi all, > >>>>> > >>>>> I've recently become dissatisfied with the supercollider > >>>>> interpreter > >>>> (for > >>>>> a number of reasons including no line numbers, no auto syntax > >>>>> highlighting, open windows all over causing headaches, etc.) and > >>>>> would > >>>>> like to be able to work with the sclang executable instead via > >>>>> another > >>>>> text editor. I've attempted to build the executable from the > >>>>> source > >>>> using > >>>>> scons but get a host of errors. Has anyone had success building > >>>>> the > >>>>> executable from source on a MacIntel with Leopard? The error > >>>>> (if you > >>>>> care) is as follows. > >>>>> > >>>>> ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void > >>>>> syncOSCOffsetWithTimeOfDay()': > >>>>> Source/lang/LangPrimSource/PyrSched.cpp:290: error: > >>>>> 'gettimeofday' was > >>>> not > >>>>> declared in this scope > >>>>> scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 > >>>>> scons: building terminated because of errors. > >>>>> > >>>>> If I edit out this section and try again, other files pop up with > >>>> errors. > >>>>> > >>>>> I know there are instructions on the wiki for ways to build from > >>>> source > >>>>> using XCode, and other means, but the instructions are rather > >>>>> cryptic, > >>>> and > >>>>> some didn't work for me at all. Is there an easy (practical) > >>>>> way to > >>>> do > >>>>> this that doesn't require hours of reading/editing? > >>>>> > >>>>> Another question. Has anyone tried the text-editor Smultron? > >>>>> It has > >>>> a > >>>>> number of nice features, from auto syntax highlighting to auto > >>>>> line > >>>>> numbering, in-window (quicklook) document opening so all docs are > >>>>> contained within a single window, one need only click one to > >>>>> access > >>>> it. > >>>>> It has multiple view support and some other niceties. It can > >>>>> execute > >>>>> scripts, inline posts, etc. It seems like one could easily script > >>>> this > >>>>> program to work like SCVim and get some of the features missing > >>>>> in the > >>>>> interpreter. > >>>>> > >>>>> I would love to hear what people are thinking about the current UI > >>>>> Interpreter and their workarounds for working with the sclang > >>>> executable > >>>>> with other programs. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> - Scott > >>>>> > >>>>> > >>>> > >>>> -- > >>>> View this message in context: > >>>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html > >>>> > >>>> > >>>> Sent from the Supercollider - User mailing list archive at > >>>> Nabble.com. > >>>> > >>>> _______________________________________________ > >>>> sc-users mailing list > >>>> sc-users@... > >>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >>>> > >>> _______________________________________________ > >>> sc-users mailing list > >>> sc-users@... > >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >>> > >>> > >> > >> -- > >> View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html > >> > >> > >> Sent from the Supercollider - User mailing list archive at > >> Nabble.com. > >> > >> _______________________________________________ > >> sc-users mailing list > >> sc-users@... > >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >> > > _______________________________________________ > > sc-users mailing list > > sc-users@... > > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > > > ****************************************** > /* Joshua D. Parmenter > http://www.realizedsound.net/josh/ > > "Every composer – at all times and in all cases – gives his own > interpretation of how modern society is structured: whether actively > or passively, consciously or unconsciously, he makes choices in this > regard. He may be conservative or he may subject himself to continual > renewal; or he may strive for a revolutionary, historical or social > palingenesis." - Luigi Nono > */ > > _______________________________________________ > > > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorHi,
On Mon, May 12, 2008 at 12:10 AM, scacinto <scottpetersen@...> wrote: > > OK - can you define what you mean by "build the sclang target"? I've opened > the language project in XCode and built the sclang under the Target heading, yes exactly that =) please svn update and build again (oops), I was missing a symbol definition for the deployment target although the development target builds fine. also, you may want to select a deployment target for your builds - by default it will build the debug version wich is slower and PPC code. in XCode with the lang project opened: Project -> Set Active Build Configuration -> deployment > but following the rest of your directions the execution of the binary fails > with the following error. > =) /emacs hmmm it should be a Symbol as in 'emacs' thus \emacs not /emacs let us know how it goes. cheers, x > > Waz:~/SuperCollider3/build scott$ sclang -d ~/sclang/init_OSC > > compiling class library.. > NumPrimitives = 551 > compiling dir: '/Users/scott/sclang/SCClassLibrary' > > compiling dir: '/Library/Application > Support/SuperCollider/Extensions' > compiling dir: '/Users/scott/Library/Application > Support/SuperCollider/Extensions' > pass 1 done > ERROR: Parse error > in file '/Platform/osx/OSXPlatform.sc' > line 17 char 24: > if ( this.hasFeature( /?emacs ) ) { > Document.implementationClass.startup; > ----------------------------------- > ERROR: file '/Platform/osx/OSXPlatform.sc' parse failed > error parsing > > Extension overwriting SimpleNumber:asTimeString > in file '/Library/Application > Support/SuperCollider/Extensions/ljpclasses/classes/LJP > Classes/Extensions/SimpleNumber-asTimeString.sc'. > Original method in file '/Common/Math/SimpleNumber.sc'. > WARNING: FunctionDef contains variable declarations and so will not be > inlined. > in file '/Users/scott/Library/Application > Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > line 93 char 14: > var psfr;? // Please ignore SC's > warning about not inlining this function. > psfr = SoundFile.new; > > I'm sorry if I'm missing something obvious, but ... > > thanks, > > -S > > > > > > scacinto wrote: > > > > word! downloading ahora! > > > > -S > > > > > > > > blackrain-2 wrote: > >> > >> done. > >> please svn update. > >> try a build of sclang target. > >> There is a new document 'README SCLang OSX' with steps to setup a > >> library to work with sclang in os x. > >> > >> let me know how it goes. > >> > >> cheers, > >> > >> x > >> > >> On Sun, May 11, 2008 at 2:40 PM, scacinto <scottpetersen@...> > >> wrote: > >>> > >>> Could you define what steps you are speaking of and provide a link? > >>> Are they > >>> the same as the wiki? I've tried all of the instructions on the wiki > >>> with > >>> two different computers and OSes and both fail to compile correctly > >>> (with > >>> the modification of some files called for which are not present in the > >>> current revision as per my original post.) > >>> > >>> -S > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> blackrain-2 wrote: > >>> > > >>> > The steps I posted here ages ago still work. > >>> > All source files still exist and there is no need to mod them at all > >>> > but make some defines/additions to the project. > >>> > The current xcode sclang project is wrong; it hooks the cocoa views > >>> > primitives and other stuff that will make sclang fail but appear like > >>> > all is good (launch, compile and finish); I will check in the changes > >>> > soon to svn. > >>> > I got no clue about scons - I dont use it on osx. > >>> > > >>> > x > >>> > > >>> > > >>> > On Fri, May 9, 2008 at 6:10 PM, scacinto > >>> <scottpetersen@...> > >>> > wrote: > >>> >> > >>> >> I just tried to build sclang following the directions on the wiki. > >>> The > >>> >> directions seem to be seriously outdated and flawed in several > >>> respects, > >>> >> including calling for the editing of several files which no longer > >>> seem > >>> >> to > >>> >> exist. I'll post the output of my attempt to run the executable at > >>> the > >>> >> end > >>> >> of this post. > >>> >> > >>> >> So I've tried two different methods described on the wiki, using > >>> scons > >>> >> and > >>> >> using XCode, both of which failed. This seems like a bit of a > >>> problem, > >>> >> especially if someone new (without the commitment of a long-time > >>> user) > >>> >> would > >>> >> like to get sclang running on OS X. > >>> >> > >>> >> Could someone post clear instructions on how to compile SC with > >>> sclang > >>> >> using > >>> >> scons or XCode if they have managed to do so? Also, please post > >>> the > >>> >> version > >>> >> of XCode you are using (My failed attempt used 2.4.1) the OS (ex. > >>> >> 10.4.11) > >>> >> and whether you are using a PPC or Intel mac. > >>> >> > >>> >> It seems that getting a reliable and simple method of compiling > >>> with the > >>> >> sclang executable available for peruzal on the wiki, in the how-to > >>> page > >>> >> of > >>> >> the sourceforge page or even, perhaps preferably, in the OS X > >>> README, is > >>> >> a > >>> >> must as more and more people I talk to seem a little dissatisfied > >>> with > >>> >> the > >>> >> current Interpreter. > >>> >> > >>> >> Thoughts? > >>> >> > >>> >> Thanks, > >>> >> > >>> >> -S > >>> >> > >>> >> > >>> >> > >>> >> Waz:/Applications/Audio_Applications/SuperCollider3/build scott$ > >>> >> ./sclang > >>> >> init_OSC > >>> >> compiling class library.. > >>> >> NumPrimitives = 551 > >>> >> compiling dir: > >>> >> > >>> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary' > >>> >> compiling dir: '/Library/Application > >>> >> Support/SuperCollider/Extensions' > >>> >> compiling dir: '/Users/scott/Library/Application > >>> >> Support/SuperCollider/Extensions' > >>> >> pass 1 done > >>> >> Extension overwriting SimpleNumber:asTimeString > >>> >> in file '/Library/Application > >>> >> Support/SuperCollider/Extensions/ljpclasses/classes/LJP > >>> >> Classes/Extensions/SimpleNumber-asTimeString.sc'. > >>> >> Original method in file > >>> '/Common/Math/SimpleNumber.sc'. > >>> >> WARNING: FunctionDef contains variable declarations and so will not > >>> be > >>> >> inlined. > >>> >> in file '/Users/scott/Library/Application > >>> >> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' > >>> >> line 93 char 14: > >>> >> var psfr;? // Please ignore > >>> SC's > >>> >> warning about not inlining this function. > >>> >> psfr = SoundFile.new; > >>> >> ----------------------------------- > >>> >> numentries = 1124454 / 18350124 = 0.061 > >>> >> Method Table Size 9205632 bytes > >>> >> Number of Method Selectors 5738 > >>> >> Number of Classes 3198 > >>> >> big table size 73400496 > >>> >> Number of Symbols 14287 > >>> >> Byte Code Size 500140 > >>> >> compiled 565 files in 4.92 seconds > >>> >> compile done > >>> >> // History.logFolder: /Users/scott/Library/Application > >>> >> Support/SuperCollider/HistoryLogs > >>> >> Class tree inited in 0.18 seconds > >>> >> ERROR: A primitive was not bound. 0 550 > >>> >> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, set=04) > >>> >> instance variables [15] > >>> >> raw1 : Float 3.885846e-318 00000000 000C0048 > >>> >> raw2 : Float 5.56268497783366e-309 00040000 04000304 > >>> >> code : instance of Int8Array (0175CF30, size=4, set=1) > >>> >> selectors : nil > >>> >> constants : nil > >>> >> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) > >>> >> context : nil > >>> >> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) > >>> >> varNames : nil > >>> >> sourceCode : nil > >>> >> ownerClass : class SCView (01713D70) > >>> >> name : Symbol 'prInit' > >>> >> primitiveName : Symbol '_SCView_New' > >>> >> filenameSymbol : Symbol > >>> >> > >>> >> > >>> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Common/GUI/Base/SCView.sc' > >>> >> charPos : Integer 6387 > >>> >> } > >>> >> ERROR: Primitive 'none' failed. > >>> >> Failed. > >>> >> RECEIVER: > >>> >> nil > >>> >> CALL STACK: > >>> >> MethodError:reportError 0166AE30 > >>> >> arg this = <instance of PrimitiveFailedError> > >>> >> Nil:handleError 0166AEF0 > >>> >> arg this = nil > >>> >> arg error = <instance of PrimitiveFailedError> > >>> >> Thread:handleError 0166AE90 > >>> >> arg this = <instance of Thread> > >>> >> arg error = <instance of PrimitiveFailedError> > >>> >> Object:throw 0166ADD0 > >>> >> arg this = <instance of PrimitiveFailedError> > >>> >> Object:primitiveFailed 0166AD70 > >>> >> arg this = nil > >>> >> SCView:init 0166AD10 > >>> >> arg this = <instance of SCTopView> > >>> >> arg argParent = nil > >>> >> arg argBounds = <instance of Rect> > >>> >> SCContainerView:init 0166ACB0 > >>> >> arg this = <instance of SCTopView> > >>> >> arg argParent = nil > >>> >> arg argBounds = <instance of Rect> > >>> >> SCWindow:initSCWindow 016AA430 > >>> >> arg this = <instance of SCWindow> > >>> >> arg argName = "internal server" > >>> >> arg argBounds = <instance of Rect> > >>> >> arg resizable = false > >>> >> arg border = true > >>> >> arg scroll = false > >>> >> Server:makeGui 01621CB0 > >>> >> arg this = <instance of Server> > >>> >> arg w = nil > >>> >> var active = nil > >>> >> var booter = nil > >>> >> var killer = nil > >>> >> var makeDefault = nil > >>> >> var running = nil > >>> >> var booting = nil > >>> >> var stopped = nil > >>> >> var bundling = nil > >>> >> var recorder = nil > >>> >> var scoper = nil > >>> >> var countsViews = nil > >>> >> var ctlr = nil > >>> >> var dumping = false > >>> >> var label = "internal server" > >>> >> var gui = class CocoaGUI > >>> >> var font = <instance of Font> > >>> >> var volumeNum = nil > >>> >> Server:makeWindow 0166AA70 > >>> >> arg this = <instance of Server> > >>> >> arg w = nil > >>> >> OSXPlatform:startup 01716400 > >>> >> arg this = <instance of OSXPlatform> > >>> >> Main:startup 017163A0 > >>> >> arg this = <instance of Main> > >>> >> ERROR: A primitive was not bound. 0 550 > >>> >> Instance of Method { (02095980, gc=01, fmt=00, flg=11, set=04) > >>> >> instance variables [15] > >>> >> raw1 : Float 3.885727e-318 00000000 000C0030 > >>> >> raw2 : Float 1.390671244457466e-309 00010000 01000001 > >>> >> code : instance of Int8Array (02095A30, size=1, set=1) > >>> >> selectors : nil > >>> >> constants : nil > >>> >> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) > >>> >> context : nil > >>> >> argNames : instance of SymbolArray (013A7000, size=1, set=1) > >>> >> varNames : nil > >>> >> sourceCode : nil > >>> >> ownerClass : class Meta_CocoaDocument (02091B70) > >>> >> name : Symbol 'prGetIndexOfListener' > >>> >> primitiveName : Symbol '_TextWindow_GetIndexOfListener' > >>> >> filenameSymbol : Symbol > >>> >> > >>> >> > >>> '/Applications/Audio_Applications/SuperCollider3/build/SCClassLibrary/Platform/osx/CocoaDocument.sc' > >>> >> charPos : Integer 3010 > >>> >> } > >>> >> ERROR: Primitive '_BasicAt' failed. > >>> >> Index not an Integer > >>> >> RECEIVER: > >>> >> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, set=00) > >>> >> indexed slots [0] > >>> >> } > >>> >> CALL STACK: > >>> >> MethodError:reportError 013CAC50 > >>> >> arg this = <instance of PrimitiveFailedError> > >>> >> Nil:handleError 013CABF0 > >>> >> arg this = nil > >>> >> arg error = <instance of PrimitiveFailedError> > >>> >> Thread:handleError 013CAB90 > >>> >> arg this = <instance of Thread> > >>> >> arg error = <instance of PrimitiveFailedError> > >>> >> Thread:handleError 013CAB30 > >>> >> arg this = <instance of Routine> > >>> >> arg error = <instance of PrimitiveFailedError> > >>> >> Object:throw 013CAAD0 > >>> >> arg this = <instance of PrimitiveFailedError> > >>> >> Object:primitiveFailed 013CAA70 > >>> >> arg this = [*0] > >>> >> < FunctionDef in Method Meta_CocoaDocument:startup > (no > >>> >> arguments > >>> >> or variables) > >>> >> Routine:prStart 0166AAD0 > >>> >> arg this = <instance of Routine> > >>> >> arg inval = 4.991427843 > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> scacinto wrote: > >>> >> > > >>> >> > Hi all, > >>> >> > > >>> >> > I've recently become dissatisfied with the supercollider > >>> interpreter > >>> >> (for > >>> >> > a number of reasons including no line numbers, no auto syntax > >>> >> > highlighting, open windows all over causing headaches, etc.) and > >>> would > >>> >> > like to be able to work with the sclang executable instead via > >>> another > >>> >> > text editor. I've attempted to build the executable from the > >>> source > >>> >> using > >>> >> > scons but get a host of errors. Has anyone had success building > >>> the > >>> >> > executable from source on a MacIntel with Leopard? The error (if > >>> you > >>> >> > care) is as follows. > >>> >> > > >>> >> > ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void > >>> >> > syncOSCOffsetWithTimeOfDay()': > >>> >> > Source/lang/LangPrimSource/PyrSched.cpp:290: error: > >>> 'gettimeofday' was > >>> >> not > >>> >> > declared in this scope > >>> >> > scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 > >>> >> > scons: building terminated because of errors. > >>> >> > > >>> >> > If I edit out this section and try again, other files pop up with > >>> >> errors. > >>> >> > > >>> >> > I know there are instructions on the wiki for ways to build from > >>> >> source > >>> >> > using XCode, and other means, but the instructions are rather > >>> cryptic, > >>> >> and > >>> >> > some didn't work for me at all. Is there an easy (practical) way > >>> to > >>> >> do > >>> >> > this that doesn't require hours of reading/editing? > >>> >> > > >>> >> > Another question. Has anyone tried the text-editor Smultron? It > >>> has > >>> >> a > >>> >> > number of nice features, from auto syntax highlighting to auto > >>> line > >>> >> > numbering, in-window (quicklook) document opening so all docs are > >>> >> > contained within a single window, one need only click one to > >>> access > >>> >> it. > >>> >> > It has multiple view support and some other niceties. It can > >>> execute > >>> >> > scripts, inline posts, etc. It seems like one could easily > >>> script > >>> >> this > >>> >> > program to work like SCVim and get some of the features missing > >>> in the > >>> >> > interpreter. > >>> >> > > >>> >> > I would love to hear what people are thinking about the current > >>> UI > >>> >> > Interpreter and their workarounds for working with the sclang > >>> >> executable > >>> >> > with other programs. > >>> >> > > >>> >> > Thanks, > >>> >> > > >>> >> > - Scott > >>> >> > > >>> >> > > >>> >> > >>> >> -- > >>> >> View this message in context: > >>> >> > >>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html > >>> >> > >>> >> > >>> >> Sent from the Supercollider - User mailing list archive at > >>> Nabble.com. > >>> >> > >>> >> _______________________________________________ > >>> >> sc-users mailing list > >>> >> sc-users@... > >>> >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >>> >> > >>> > _______________________________________________ > >>> > sc-users mailing list > >>> > sc-users@... > >>> > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >>> > > >>> > > >>> > >>> -- > >>> View this message in context: > >>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html > >>> > >>> > >>> Sent from the Supercollider - User mailing list archive at Nabble.com. > >>> > >>> _______________________________________________ > >>> sc-users mailing list > >>> sc-users@... > >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >>> > >> _______________________________________________ > >> sc-users mailing list > >> sc-users@... > >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users > >> > >> > > > > > > -- > View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17181603.html > > > Sent from the Supercollider - User mailing list archive at Nabble.com. > > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users > sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorOn 12.05.2008, at 06:51, Josh Parmenter wrote:
> I had a problem building due to conflicting symbols. Commenting out > this in SC_LanguageClient.cpp seems to have worked: > > //#if !defined(HAVE_SPEECH) > //void initSpeechPrimitives(); > //void initSpeechPrimitives() > //{ > //} > //#endif // HAVE_SPEECH > > But there is probably a better solution??? yes: define HAVE_SPEECH in the xcode project, that way the build doesn't break on other platforms. <sk> _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorHey 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?...) I know this is a pain, but when you get a chance, could you clarify (or someone else) the build-in-XCode process? This must be where I'm going wrong. I'd also like to have Josh or another post those directions over at the NewScores page so they're readily accessible to those wanted to follow this dark path... Many thanks, -S
______________________________
Scott Petersen Assistant Director, YalMusT Music Technology Specialist Department of Music Yale University, New Haven, CT 06511 United States |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorDo you mean the lang XCode project fails? I got it all working this
morning, but need to figure out a few more things about getting scsynth to work properly... also, I have things working in Aquaemacs. x - here are a couple things I noted... do these make sense to you? in ~/sclang/scel/el rename sclang-vars.el.in to sclang-vars.el. You can do this in Finder, or if you are in the directory already: mv sclang-vars.el.in sclang-vars.el NOW - if you want to use a Cocoa or Carbon based Emacs (CarbonEmacs or Aquamacs Emacs), you will need the new SCClassLibrary to be in your home directory (anyway to set this to look in ~/sclang??? is this defined in the Emacs interface, or is it because Aquamacs Emacs is starting from home??? hmm...). Josh On May 12, 2008, at 8:49 AM, 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?...) > > I know this is a pain, but when you get a chance, could you clarify > (or > someone else) the build-in-XCode process? This must be where I'm > going > wrong. I'd also like to have Josh or another post those directions > over at > the NewScores page so they're readily accessible to those wanted to > follow > this dark path... > > Many thanks, > > -S > > > > blackrain-2 wrote: >> >> Hi, >> >> On Mon, May 12, 2008 at 12:10 AM, scacinto >> <scottpetersen@...> wrote: >>> >>> OK - can you define what you mean by "build the sclang target"? >>> I've >>> opened >>> the language project in XCode and built the sclang under the Target >>> heading, >> >> yes exactly that =) >> please svn update and build again (oops), I was missing a symbol >> definition for the deployment target although the development target >> builds fine. >> >> also, you may want to select a deployment target for your builds - by >> default it will build the debug version wich is slower and PPC code. >> >> in XCode with the lang project opened: >> Project -> Set Active Build Configuration -> deployment >> >> >>> but following the rest of your directions the execution of the >>> binary >>> fails >>> with the following error. >>> >> >> =) >> >> /emacs hmmm >> it should be a Symbol as in 'emacs' thus \emacs not /emacs >> >> let us know how it goes. >> >> cheers, >> >> x >> >> >> >>> >>> Waz:~/SuperCollider3/build scott$ sclang -d ~/sclang/init_OSC >>> >>> compiling class library.. >>> NumPrimitives = 551 >>> compiling dir: '/Users/scott/sclang/SCClassLibrary' >>> >>> compiling dir: '/Library/Application >>> Support/SuperCollider/Extensions' >>> compiling dir: '/Users/scott/Library/Application >>> Support/SuperCollider/Extensions' >>> pass 1 done >>> ERROR: Parse error >>> in file '/Platform/osx/OSXPlatform.sc' >>> line 17 char 24: >>> if ( this.hasFeature( /?emacs ) ) { >>> Document.implementationClass.startup; >>> ----------------------------------- >>> ERROR: file '/Platform/osx/OSXPlatform.sc' parse failed >>> error parsing >>> >>> Extension overwriting SimpleNumber:asTimeString >>> in file '/Library/Application >>> Support/SuperCollider/Extensions/ljpclasses/classes/LJP >>> Classes/Extensions/SimpleNumber-asTimeString.sc'. >>> Original method in file '/Common/Math/ >>> SimpleNumber.sc'. >>> WARNING: FunctionDef contains variable declarations and so will >>> not be >>> inlined. >>> in file '/Users/scott/Library/Application >>> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' >>> line 93 char 14: >>> var psfr;? // Please ignore >>> SC's >>> warning about not inlining this function. >>> psfr = SoundFile.new; >>> >>> I'm sorry if I'm missing something obvious, but ... >>> >>> thanks, >>> >>> -S >>> >>> >>> >>> >>> >>> scacinto wrote: >>>> >>>> word! downloading ahora! >>>> >>>> -S >>>> >>>> >>>> >>>> blackrain-2 wrote: >>>>> >>>>> done. >>>>> please svn update. >>>>> try a build of sclang target. >>>>> There is a new document 'README SCLang OSX' with steps to setup a >>>>> library to work with sclang in os x. >>>>> >>>>> let me know how it goes. >>>>> >>>>> cheers, >>>>> >>>>> x >>>>> >>>>> On Sun, May 11, 2008 at 2:40 PM, scacinto >>> <scottpetersen@...> >>>>> wrote: >>>>>> >>>>>> Could you define what steps you are speaking of and provide a >>>>>> link? >>>>>> Are they >>>>>> the same as the wiki? I've tried all of the instructions on the >>> wiki >>>>>> with >>>>>> two different computers and OSes and both fail to compile >>>>>> correctly >>>>>> (with >>>>>> the modification of some files called for which are not present >>>>>> in >>> the >>>>>> current revision as per my original post.) >>>>>> >>>>>> -S >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> blackrain-2 wrote: >>>>>>> >>>>>>> The steps I posted here ages ago still work. >>>>>>> All source files still exist and there is no need to mod them at >>> all >>>>>>> but make some defines/additions to the project. >>>>>>> The current xcode sclang project is wrong; it hooks the cocoa >>> views >>>>>>> primitives and other stuff that will make sclang fail but appear >>> like >>>>>>> all is good (launch, compile and finish); I will check in the >>> changes >>>>>>> soon to svn. >>>>>>> I got no clue about scons - I dont use it on osx. >>>>>>> >>>>>>> x >>>>>>> >>>>>>> >>>>>>> On Fri, May 9, 2008 at 6:10 PM, scacinto >>>>>> <scottpetersen@...> >>>>>>> wrote: >>>>>>>> >>>>>>>> I just tried to build sclang following the directions on the >>> wiki. >>>>>> The >>>>>>>> directions seem to be seriously outdated and flawed in several >>>>>> respects, >>>>>>>> including calling for the editing of several files which no >>> longer >>>>>> seem >>>>>>>> to >>>>>>>> exist. I'll post the output of my attempt to run the >>> executable at >>>>>> the >>>>>>>> end >>>>>>>> of this post. >>>>>>>> >>>>>>>> So I've tried two different methods described on the wiki, >>> using >>>>>> scons >>>>>>>> and >>>>>>>> using XCode, both of which failed. This seems like a bit of a >>>>>> problem, >>>>>>>> especially if someone new (without the commitment of a >>> long-time >>>>>> user) >>>>>>>> would >>>>>>>> like to get sclang running on OS X. >>>>>>>> >>>>>>>> Could someone post clear instructions on how to compile SC with >>>>>> sclang >>>>>>>> using >>>>>>>> scons or XCode if they have managed to do so? Also, please >>> post >>>>>> the >>>>>>>> version >>>>>>>> of XCode you are using (My failed attempt used 2.4.1) the OS >>> (ex. >>>>>>>> 10.4.11) >>>>>>>> and whether you are using a PPC or Intel mac. >>>>>>>> >>>>>>>> It seems that getting a reliable and simple method of compiling >>>>>> with the >>>>>>>> sclang executable available for peruzal on the wiki, in the >>> how-to >>>>>> page >>>>>>>> of >>>>>>>> the sourceforge page or even, perhaps preferably, in the OS X >>>>>> README, is >>>>>>>> a >>>>>>>> must as more and more people I talk to seem a little >>> dissatisfied >>>>>> with >>>>>>>> the >>>>>>>> current Interpreter. >>>>>>>> >>>>>>>> Thoughts? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> -S >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Waz:/Applications/Audio_Applications/SuperCollider3/build >>> scott$ >>>>>>>> ./sclang >>>>>>>> init_OSC >>>>>>>> compiling class library.. >>>>>>>> NumPrimitives = 551 >>>>>>>> compiling dir: >>>>>>>> >>>>>> >>> '/Applications/Audio_Applications/SuperCollider3/build/ >>> SCClassLibrary' >>>>>>>> compiling dir: '/Library/Application >>>>>>>> Support/SuperCollider/Extensions' >>>>>>>> compiling dir: '/Users/scott/Library/Application >>>>>>>> Support/SuperCollider/Extensions' >>>>>>>> pass 1 done >>>>>>>> Extension overwriting SimpleNumber:asTimeString >>>>>>>> in file '/Library/Application >>>>>>>> Support/SuperCollider/Extensions/ljpclasses/classes/LJP >>>>>>>> Classes/Extensions/SimpleNumber-asTimeString.sc'. >>>>>>>> Original method in file >>>>>> '/Common/Math/SimpleNumber.sc'. >>>>>>>> WARNING: FunctionDef contains variable declarations and so will >>> not >>>>>> be >>>>>>>> inlined. >>>>>>>> in file '/Users/scott/Library/Application >>>>>>>> >>> Support/SuperCollider/Extensions/quarks/NonRT/batchNRT/batchNRT.sc' >>>>>>>> line 93 char 14: >>>>>>>> var psfr;? // Please >>> ignore >>>>>> SC's >>>>>>>> warning about not inlining this function. >>>>>>>> psfr = SoundFile.new; >>>>>>>> ----------------------------------- >>>>>>>> numentries = 1124454 / 18350124 = 0.061 >>>>>>>> Method Table Size 9205632 bytes >>>>>>>> Number of Method Selectors 5738 >>>>>>>> Number of Classes 3198 >>>>>>>> big table size 73400496 >>>>>>>> Number of Symbols 14287 >>>>>>>> Byte Code Size 500140 >>>>>>>> compiled 565 files in 4.92 seconds >>>>>>>> compile done >>>>>>>> // History.logFolder: /Users/scott/Library/Application >>>>>>>> Support/SuperCollider/HistoryLogs >>>>>>>> Class tree inited in 0.18 seconds >>>>>>>> ERROR: A primitive was not bound. 0 550 >>>>>>>> Instance of Method { (0175CDF0, gc=01, fmt=00, flg=11, >>> set=04) >>>>>>>> instance variables [15] >>>>>>>> raw1 : Float 3.885846e-318 00000000 000C0048 >>>>>>>> raw2 : Float 5.56268497783366e-309 00040000 04000304 >>>>>>>> code : instance of Int8Array (0175CF30, size=4, set=1) >>>>>>>> selectors : nil >>>>>>>> constants : nil >>>>>>>> prototypeFrame : instance of Array (0175CEE0, size=4, set=2) >>>>>>>> context : nil >>>>>>>> argNames : instance of SymbolArray (0175CEA0, size=4, set=1) >>>>>>>> varNames : nil >>>>>>>> sourceCode : nil >>>>>>>> ownerClass : class SCView (01713D70) >>>>>>>> name : Symbol 'prInit' >>>>>>>> primitiveName : Symbol '_SCView_New' >>>>>>>> filenameSymbol : Symbol >>>>>>>> >>>>>>>> >>>>>> >>> '/Applications/Audio_Applications/SuperCollider3/build/ >>> SCClassLibrary/Common/GUI/Base/SCView.sc' >>>>>>>> charPos : Integer 6387 >>>>>>>> } >>>>>>>> ERROR: Primitive 'none' failed. >>>>>>>> Failed. >>>>>>>> RECEIVER: >>>>>>>> nil >>>>>>>> CALL STACK: >>>>>>>> MethodError:reportError 0166AE30 >>>>>>>> arg this = <instance of PrimitiveFailedError> >>>>>>>> Nil:handleError 0166AEF0 >>>>>>>> arg this = nil >>>>>>>> arg error = <instance of PrimitiveFailedError> >>>>>>>> Thread:handleError 0166AE90 >>>>>>>> arg this = <instance of Thread> >>>>>>>> arg error = <instance of PrimitiveFailedError> >>>>>>>> Object:throw 0166ADD0 >>>>>>>> arg this = <instance of PrimitiveFailedError> >>>>>>>> Object:primitiveFailed 0166AD70 >>>>>>>> arg this = nil >>>>>>>> SCView:init 0166AD10 >>>>>>>> arg this = <instance of SCTopView> >>>>>>>> arg argParent = nil >>>>>>>> arg argBounds = <instance of Rect> >>>>>>>> SCContainerView:init 0166ACB0 >>>>>>>> arg this = <instance of SCTopView> >>>>>>>> arg argParent = nil >>>>>>>> arg argBounds = <instance of Rect> >>>>>>>> SCWindow:initSCWindow 016AA430 >>>>>>>> arg this = <instance of SCWindow> >>>>>>>> arg argName = "internal server" >>>>>>>> arg argBounds = <instance of Rect> >>>>>>>> arg resizable = false >>>>>>>> arg border = true >>>>>>>> arg scroll = false >>>>>>>> Server:makeGui 01621CB0 >>>>>>>> arg this = <instance of Server> >>>>>>>> arg w = nil >>>>>>>> var active = nil >>>>>>>> var booter = nil >>>>>>>> var killer = nil >>>>>>>> var makeDefault = nil >>>>>>>> var running = nil >>>>>>>> var booting = nil >>>>>>>> var stopped = nil >>>>>>>> var bundling = nil >>>>>>>> var recorder = nil >>>>>>>> var scoper = nil >>>>>>>> var countsViews = nil >>>>>>>> var ctlr = nil >>>>>>>> var dumping = false >>>>>>>> var label = "internal server" >>>>>>>> var gui = class CocoaGUI >>>>>>>> var font = <instance of Font> >>>>>>>> var volumeNum = nil >>>>>>>> Server:makeWindow 0166AA70 >>>>>>>> arg this = <instance of Server> >>>>>>>> arg w = nil >>>>>>>> OSXPlatform:startup 01716400 >>>>>>>> arg this = <instance of OSXPlatform> >>>>>>>> Main:startup 017163A0 >>>>>>>> arg this = <instance of Main> >>>>>>>> ERROR: A primitive was not bound. 0 550 >>>>>>>> Instance of Method { (02095980, gc=01, fmt=00, flg=11, >>> set=04) >>>>>>>> instance variables [15] >>>>>>>> raw1 : Float 3.885727e-318 00000000 000C0030 >>>>>>>> raw2 : Float 1.390671244457466e-309 00010000 01000001 >>>>>>>> code : instance of Int8Array (02095A30, size=1, set=1) >>>>>>>> selectors : nil >>>>>>>> constants : nil >>>>>>>> prototypeFrame : instance of Array (013A6FC0, size=1, set=1) >>>>>>>> context : nil >>>>>>>> argNames : instance of SymbolArray (013A7000, size=1, set=1) >>>>>>>> varNames : nil >>>>>>>> sourceCode : nil >>>>>>>> ownerClass : class Meta_CocoaDocument (02091B70) >>>>>>>> name : Symbol 'prGetIndexOfListener' >>>>>>>> primitiveName : Symbol '_TextWindow_GetIndexOfListener' >>>>>>>> filenameSymbol : Symbol >>>>>>>> >>>>>>>> >>>>>> >>> '/Applications/Audio_Applications/SuperCollider3/build/ >>> SCClassLibrary/Platform/osx/CocoaDocument.sc' >>>>>>>> charPos : Integer 3010 >>>>>>>> } >>>>>>>> ERROR: Primitive '_BasicAt' failed. >>>>>>>> Index not an Integer >>>>>>>> RECEIVER: >>>>>>>> Instance of Array { (016AAC90, gc=20, fmt=01, flg=00, >>> set=00) >>>>>>>> indexed slots [0] >>>>>>>> } >>>>>>>> CALL STACK: >>>>>>>> MethodError:reportError 013CAC50 >>>>>>>> arg this = <instance of PrimitiveFailedError> >>>>>>>> Nil:handleError 013CABF0 >>>>>>>> arg this = nil >>>>>>>> arg error = <instance of PrimitiveFailedError> >>>>>>>> Thread:handleError 013CAB90 >>>>>>>> arg this = <instance of Thread> >>>>>>>> arg error = <instance of PrimitiveFailedError> >>>>>>>> Thread:handleError 013CAB30 >>>>>>>> arg this = <instance of Routine> >>>>>>>> arg error = <instance of PrimitiveFailedError> >>>>>>>> Object:throw 013CAAD0 >>>>>>>> arg this = <instance of PrimitiveFailedError> >>>>>>>> Object:primitiveFailed 013CAA70 >>>>>>>> arg this = [*0] >>>>>>>> < FunctionDef in Method Meta_CocoaDocument:startup > >>> (no >>>>>>>> arguments >>>>>>>> or variables) >>>>>>>> Routine:prStart 0166AAD0 >>>>>>>> arg this = <instance of Routine> >>>>>>>> arg inval = 4.991427843 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> scacinto wrote: >>>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> >>>>>>>>> I've recently become dissatisfied with the supercollider >>>>>> interpreter >>>>>>>> (for >>>>>>>>> a number of reasons including no line numbers, no auto syntax >>>>>>>>> highlighting, open windows all over causing headaches, etc.) >>> and >>>>>> would >>>>>>>>> like to be able to work with the sclang executable instead >>> via >>>>>> another >>>>>>>>> text editor. I've attempted to build the executable from the >>>>>> source >>>>>>>> using >>>>>>>>> scons but get a host of errors. Has anyone had success >>> building >>>>>> the >>>>>>>>> executable from source on a MacIntel with Leopard? The error >>> (if >>>>>> you >>>>>>>>> care) is as follows. >>>>>>>>> >>>>>>>>> ...Source/lang/LangPrimSource/PyrSched.cpp: In function 'void >>>>>>>>> syncOSCOffsetWithTimeOfDay()': >>>>>>>>> Source/lang/LangPrimSource/PyrSched.cpp:290: error: >>>>>> 'gettimeofday' was >>>>>>>> not >>>>>>>>> declared in this scope >>>>>>>>> scons: *** [Source/lang/LangPrimSource/PyrSched.os] Error 1 >>>>>>>>> scons: building terminated because of errors. >>>>>>>>> >>>>>>>>> If I edit out this section and try again, other files pop up >>> with >>>>>>>> errors. >>>>>>>>> >>>>>>>>> I know there are instructions on the wiki for ways to build >>> from >>>>>>>> source >>>>>>>>> using XCode, and other means, but the instructions are rather >>>>>> cryptic, >>>>>>>> and >>>>>>>>> some didn't work for me at all. Is there an easy (practical) >>> way >>>>>> to >>>>>>>> do >>>>>>>>> this that doesn't require hours of reading/editing? >>>>>>>>> >>>>>>>>> Another question. Has anyone tried the text-editor Smultron? >>> It >>>>>> has >>>>>>>> a >>>>>>>>> number of nice features, from auto syntax highlighting to >>> auto >>>>>> line >>>>>>>>> numbering, in-window (quicklook) document opening so all docs >>> are >>>>>>>>> contained within a single window, one need only click one to >>>>>> access >>>>>>>> it. >>>>>>>>> It has multiple view support and some other niceties. It can >>>>>> execute >>>>>>>>> scripts, inline posts, etc. It seems like one could easily >>>>>> script >>>>>>>> this >>>>>>>>> program to work like SCVim and get some of the features >>> missing >>>>>> in the >>>>>>>>> interpreter. >>>>>>>>> >>>>>>>>> I would love to hear what people are thinking about the >>> current >>>>>> UI >>>>>>>>> Interpreter and their workarounds for working with the sclang >>>>>>>> executable >>>>>>>>> with other programs. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> - Scott >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> View this message in context: >>>>>>>> >>>>>> >>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17157927.html >>>>>>>> >>>>>>>> >>>>>>>> Sent from the Supercollider - User mailing list archive at >>>>>> Nabble.com. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> sc-users mailing list >>>>>>>> sc-users@... >>>>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> sc-users mailing list >>>>>>> sc-users@... >>>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> >>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17174023.html >>>>>> >>>>>> >>>>>> Sent from the Supercollider - User mailing list archive at >>> Nabble.com. >>>>>> >>>>>> _______________________________________________ >>>>>> sc-users mailing list >>>>>> sc-users@... >>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>>>> >>>>> _______________________________________________ >>>>> sc-users mailing list >>>>> sc-users@... >>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>>>> >>>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17181603.html >>> >>> >>> Sent from the Supercollider - User mailing list archive at >>> Nabble.com. >>> >>> _______________________________________________ >>> sc-users mailing list >>> sc-users@... >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >>> >> _______________________________________________ >> sc-users mailing list >> sc-users@... >> http://lists.create.ucsb.edu/mailman/listinfo/sc-users >> >> > > -- > View this message in context: http://www.nabble.com/Building-Sclang-Executable-on-OS-X-%28leopard-or-other%29-AND-New-Interpreter-Editor-tp17156749p17189816.html > Sent from the Supercollider - User mailing list archive at Nabble.com. > > _______________________________________________ > sc-users mailing list > sc-users@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-users ****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorOn Monday 12 May 2008 12:43:51 Josh Parmenter wrote:
> Do you mean the lang XCode project fails? I got it all working this > morning, but need to figure out a few more things about getting > scsynth to work properly... also, I have things working in Aquaemacs. > > x - here are a couple things I noted... do these make sense to you? > > in ~/sclang/scel/el rename sclang-vars.el.in to sclang-vars.el. You > can do this in Finder, or if you are in the directory already: > > mv sclang-vars.el.in sclang-vars.el usually this file is changed during build with scons. It would be useful to have the scons script working properly on OSX as well so that this works. > NOW - if you want to use a Cocoa or Carbon based Emacs (CarbonEmacs or > Aquamacs Emacs), you will need the new SCClassLibrary to be in your > home directory (anyway to set this to look in ~/sclang??? is this > defined in the Emacs interface, or is it because Aquamacs Emacs is > starting from home??? hmm...). Shouldn't it look in the platform defined locations for this? sincerely, Marije _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorHiho,
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 sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
|
|
Re: Building Sclang Executable on OS X (leopard or other) AND New Interpreter/EditorThanks... just didn't know where to change it.
Josh On May 12, 2008, at 11:52 AM, nescivi wrote: > Shouldn't it look in the platform defined locations for this? > > sincerely, > Marije ****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ _______________________________________________ sc-users mailing list sc-users@... http://lists.create.ucsb.edu/mailman/listinfo/sc-users |
| < Prev | 1 - 2 - 3 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |