Arc Forumnew | comments | leaders | submitlogin
1 point by globalrev 5872 days ago | link | parent

normal Arc im running by running as.scm yes.

Anarki i run by arc-exe.scm

have tried as.scm too though.

i have tried both doubleclick-starting them and openeing DrScheme then open arc-exe then running it.

normal Arc works both ways.

this is really annoying becuse i justw anna get going with WebApps and it doesnt work ont he normal Arc-version on Windows.



1 point by almkglor 5872 days ago | link

arc-exe.scm is supposed to be compiled, not run directly. Are you sure you ran the Anarki version by double clicking as.scm, and as.scm, only?

Try doing this: Start Menu | Run Program

Then type "cmd" and press enter. This brings up a terminal.

Then find your path. First go to the drive you installed it. For example if it's in drive C, type "C:" and then enter. Then find your path. Go to your windows explorer and explore from there to where you kept Anarki (have to use Windows Explorer specifically, because it's just better than the default view), then select the address bar and press ctrl+c to copy it. Then go back to the terminal, type "cd " (include the space, but don't press enter yet), then rightclick the terminal's title bar and select Edit | Paste, which should paste the path to your terminal, and press enter.

(my knowledge of Windows is starting to embarass me)

Then try the following command:

  mzscheme -m -f as.scm
If commandline doesn't work for you, I'll try to replicate the problem on my XP box, which I, like, don't use except for playing Starcraft and DotA, because I can't get Wine to run in fullscreen properly without scrolling into Gnome.

-----

1 point by globalrev 5872 days ago | link

mzscheme -m -f as.scm 'mzscheme' is not recognized...

this is what i get when trying to run as.scm in DrScheme:

procedure application: expected procedure, given: #f; arguments were: #<struct:fun-syntax> #<syntax:C:\Users\saftarn\Desktop\myanarki\nex3-arc-20af2f3fe921faeca2048d1d932abcdae2a916b4\ffi.scm:18:14>

i tried running as.scm from the DOS-window and it generated the same problem.

the file loads up in DrScheme. then i click Run to start Arc right?

this again: procedure application: expected procedure, given: #f; arguments were: #<struct:fun-syntax> #<syntax:C:\Users\saftarn\Desktop\myanarki\nex3-arc-20af2f3fe921faeca2048d1d932abcdae2a916b4\ffi.scm:18:14>

weirdest thing is it actually worked the first time i ran anarki. i dont remember exactly what i did, is it possible that the first execution could have changed something? or i happened to change some code?

what is the GIT really doing? is it just for downloading new versions? not something i actually will use when programming?

-----

1 point by almkglor 5872 days ago | link

Good, we're getting somewhere. 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")
Then try running it again.

Don't know why FFI isn't working on you, since the line being referenced doesn't actually get used in normal Anarki.

> what is the GIT really doing? is it just for downloading new versions?

Yes, although that's in your case currently.

> not something i actually will use when programming?

Depends. It's what's called a "revision control software". It's like CVS or Subversion (you might have used those). It lets you keep track of changes in your software, and lets you manage the development. For example, you can automatically create versions of software, which you can revert (for example, if a bug is reported by a user in the latest version, you can get a copies of succeedingly older versions until you see the bug disappear. Then you can get the difference between the version-without-bug and the first version-with-bug and see what exactly you changed that could be causing the problem). Up to you to use while programming. Any revision control software is good; git is considered one of the better ones.

-----

1 point by globalrev 5872 days ago | link

ty very very much it is finally working.

-----