Arc Forumnew | comments | leaders | submitlogin
Big bug in anarki
1 point by globalrev 6097 days ago | 3 comments
latest edit: i can run anarki through arc-exe.scm 1 time. i can luanch the webapp in the tutorial and everything seems to work.

the second time i get these problems: arc> (defop hello req (pr "hello world")) Error: "reference to undefined identifier: __defop" arc> (+ 1 2) Error: "reference to undefined identifier: __input-history-update"

i have to remove the arc-folder in the msysgit-folder and reclone it to make it work.

obv this is really annoying. is noone having the same problem? how can i solve this?



1 point by globalrev 6097 days ago | link

it is now working

solution by almkglor:

Try editing as.scm in notepad (open notepad and drag it into it). Then find the following line and add a ";" before it: (load "ffi.scm")

-----

2 points by almkglor 6097 days ago | link

you'll have to wait for sacado to respond regarding this bit - I believe he's the one who added FFI to Anarki. It's highly possible that the FFI is just not compatible with Windows, and/or the FFI layer in mzscheme is subtly different between Linux and Windows.

-----

1 point by sacado 6095 days ago | link

Yes, I didn't develop windows compatibility for the FFI. I don't have a windows machine to work with. Sorry if it breaks things under windows ... :(

I hope somebody will eventually come with a patch for this. Until then, almkglor's solution seems to work..;

-----