[chuck-users] Trouble with Machine.add() and paths on Windows; listing loaded shreds

Gregorio Gomez gogogo at unm.edu
Wed Oct 30 14:12:20 EDT 2013


Hi, everybody:

I'm new here. I'm really intrigued with ChucK and I'm looking forward to working with it.

I am having one problem. I've taken a look at the list archives, and the forum, but the fixes I've seen there haven't worked for me. If there's something there that I overlooked, I apologize. Please feel free to point me in the right direction.

Basically, I'm having some trouble including the LiCK library, but my questions are more about Machine's add() method.

Here's an example of what's not working:
Machine.add("c:\\Program Files (x86)\\ChucK\\libs\\lib-master\\BinaryFunction.ck");

And the errors:
[chuck]: unrecognized escape sequence: \P
[chuck]: malformed filename with argument list...

My questions:
When Machine.add's argument is a relative path like this:
   Machine.add("BinaryFunction.ck");
or this:
   Machine.add("libs/BinaryFunction.ck");

what's the path relative to?

What's the correct way to use absolute paths in Windows?

What's the correct delimiter for paths in Windows?

Is it possible to get Machine to list loaded shreds?


I'm running:
Windows 7
miniAudicle 1.3.0
ChucK 1.3.2.0

Thanks!
Greg





More information about the chuck-users mailing list