0

I'm off to a very poor start on Game of Fifteen. The first task mentioned in "The Game Begins" is: "Go ahead and compile the framework. (Can you figure out how?)"

I haven't been able to, and would appreciate some guidance.

1

While in the directory containing the game of fifteen files, execute the following from the command line: make fifteen

That should do it.

5
  • That gives me the "nothing to be done" comment that signifies no change has been made to an already-compiled .c program. Then when I made and immediately undid a minor change just to create the * in the edit program title, "make" failed to recognize the .c code at all. When I put in a couple of lines of "dummy code", I got a "too many errors to coin message. Is it really supposed to compile with just the usual make command? Oct 4 '14 at 12:48
  • count = coin above Oct 4 '14 at 12:49
  • Yes. That is why a makefile is included with the pset distribution code. What are you expecting to happen that isn't happening? It sounds like it compiled successfully at least once and it was saying there were no new changes, thus no need to compile again.
    – lethaljd
    Oct 4 '14 at 12:52
  • After compiling, if you type ./fifteen at the command prompt (while in the fifteen directory) it should run. Try ./fifteen 3
    – lethaljd
    Oct 4 '14 at 12:55
  • Thanks very much. It worked as you said--after I deleted the whole pset3 folder and started anew. I obviously did something wrong the first time and made it worse by playing with fifteen.c. I appreciate your help. Oct 4 '14 at 23:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .