[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] missing singleton reference when trying to add Twister.sc to SCClassLibrary



Hi all,

I am trying to add a class to interface with a midifighter twister to the SCClassLibrary…specifically, this class. Have run into what I feel like is probably a small issue on my part but I am currently stumped. After forking and cloning the .sc file I dumped it into /Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary/ and after recompiling the library I get the following error:

ERROR: Superclass 'Singleton' of class 'TwisterDevice' is not defined in any file.
/private/var/folders/dg/507mln996q1d1jxy18khqwm80000gq/T/AppTranslocation/438A8A45-E60B-4C12-8169-C4BD0B3CA907/d/SuperCollider.app/Contents/Resources/SCClassLibrary/Twister.sc
ERROR: There is a discrepancy.
numClassDeps 1571   gNumClasses 3140
WARNING: Attempted to modify missing Text Mirror for Document {82583650-87b1-4884-a582-d7e90edeeb8a}

So okay fine, looks like I need a class definition for Singleton, which brings me to my question: what is that and how do I get it? My assumption is once I add Singleton the discrepancy error will go away but that is just a guess on my part, Any suggestions would be appreciated.

Casey