Hi there! I took the coursera course for chuck programming and all was going well until I go to use machine.add() to make my score and all instruments concurrent. for some reason it reads [C]: no such file or directory I added my files to another computer and the same exact thing occurred. every time I add the shred and Any time I use Machine.add() in any other programs the same thing occurs even though i am using me.dir("/myfile.ck") I can't seem to make any of my files concurrent to one another because its not working. Any help is appreciated greatly!! Thanks! Amy
Hello Amy,
You should be able to just use relative paths if running chuck from
the same directory as your .ck files. For example
$ cd my-chuck-files
$ ls
foo.ck
bar.ck
import.ck
import.ck:
Machine.add("foo.ck");
Machine.add("bar.ck");
<<<"done">>>;
$ chuck import.ck
"done" : (string)
michael
On Mon, Feb 10, 2014 at 4:53 PM, Amy Crawford
Hi there! I took the coursera course for chuck programming and all was going well until I go to use machine.add() to make my score and all instruments concurrent. for some reason it reads
[C]: no such file or directory
I added my files to another computer and the same exact thing occurred.
every time I add the shred and Any time I use Machine.add() in any other programs the same thing occurs even though i am using me.dir("/myfile.ck") I can't seem to make any of my files concurrent to one another because its not working. Any help is appreciated greatly!!
Thanks! Amy
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
i.e. Do not start paths with '/', it doesn't mean 'this folder', but the
'root' folder of your system.
El feb 10, 2014 6:14 PM, "Michael Heuer"
Hello Amy,
You should be able to just use relative paths if running chuck from the same directory as your .ck files. For example
$ cd my-chuck-files
$ ls foo.ck bar.ck import.ck
import.ck: Machine.add("foo.ck"); Machine.add("bar.ck"); <<<"done">>>;
$ chuck import.ck "done" : (string)
michael
On Mon, Feb 10, 2014 at 4:53 PM, Amy Crawford
wrote: Hi there! I took the coursera course for chuck programming and all was going well until I go to use machine.add() to make my score and all instruments concurrent. for some reason it reads
[C]: no such file or directory
I added my files to another computer and the same exact thing occurred.
every time I add the shred and Any time I use Machine.add() in any other programs the same thing occurs even though i am using me.dir("/myfile.ck") I can't seem to make any of my files concurrent to one another because its not working. Any help is appreciated greatly!!
Thanks! Amy
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Amy Crawford
-
Michael Heuer
-
Moisés Gabriel Cachay Tello