Hi, I'm writing up a class, and I can't seem to test the changes I make to it without restarting miniAudicle. The problem is that I get "class/type 'myClass' is already defined in namespace 'global'" errors when I "add shred" in the window defining the class. Any help? Regards, George
On 27 July 2012 15:25, George Locke
Hi,
I'm writing up a class, and I can't seem to test the changes I make to it without restarting miniAudicle. The problem is that I get "class/type 'myClass' is already defined in namespace 'global'" errors when I "add shred" in the window defining the class.
Any help?
Stopping and re-starting the build-in VM should help. This issue will indeed only occur with public classes. I'd recommend to develop those (as far as possible) as non-public classes and only once you have the functionality nailed "go live". That might -of course- be hard in your particular scenario. Yours, Kas.
thanks for the quick reply. building as non-public should solve the
problem. However the "stop virtual machine" button on my mini-audicle is
grayed out and inoperative, as is the "stop virtual machine" entry in the
ChucK pull-down menu. (Alt . produces the system bell.)
On Fri, Jul 27, 2012 at 10:31 AM, Kassen
On 27 July 2012 15:25, George Locke
wrote: Hi,
I'm writing up a class, and I can't seem to test the changes I make to it without restarting miniAudicle. The problem is that I get "class/type 'myClass' is already defined in namespace 'global'" errors when I "add shred" in the window defining the class.
Any help?
Stopping and re-starting the build-in VM should help. This issue will indeed only occur with public classes. I'd recommend to develop those (as far as possible) as non-public classes and only once you have the functionality nailed "go live". That might -of course- be hard in your particular scenario.
Yours, Kas. _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
George Locke
-
Kassen