nneonneo / 2048-ai

AI for the 2048 game
MIT License
1.09k stars 279 forks source link

Can't get makefile to work? #18

Closed hao2my closed 10 years ago

hao2my commented 10 years ago

Sorry if this is going to sound so noobish. But I have to ask because I can't find an answer anywhere else.

With reference to the cygwinstepbystep guide. I'd like to refer to No.5 Makefile

It says if I successfully unzipped the files to the directory, open Cygwin Terminal and typed make and Enter.

But after doing so. I get this error :make: *\ No targets specified and no makefile found. Stop.

And because of that I can't proceed to other steps like having a subfolder named bin created and finding the files 2048.exe and 2048.so.

2048

makefile

I know this is a silly question, and I hope you could guide me towards a solution. Thank you so much for your time.

nneonneo commented 10 years ago

With a recent change, you now need to use "./configure ; make" instead of just "make". On Apr 13, 2014 3:15 PM, "hao2my" notifications@github.com wrote:

Sorry if this is going to sound so noobish. But I have to ask because I can't find an answer anywhere else.

With reference to the cygwinstepbystep guide. I'd like to refer to No.5 Makefile

It says if I successfully unzipped the files to the directory, open Cygwin Terminal and typed make and Enter.

But after doing so. I get this error :make: *\ No targets specified and no makefile found. Stop.

And because of that I can't proceed to other steps like having a subfolder named bin created and finding the files 2048.exe and 2048.so.

[image: 2048]https://cloud.githubusercontent.com/assets/7282682/2690365/da106004-c33f-11e3-9982-098d7666447d.png

I know this is a silly question, and I hope you could guide me towards a solution. Thank you so much for your time.

— Reply to this email directly or view it on GitHubhttps://github.com/nneonneo/2048-ai/issues/18 .

hao2my commented 10 years ago

2048 hmm

This is what I got so far.

nneonneo commented 10 years ago

cd 2048-ai-master ; ./configure ; make

On Sun, Apr 13, 2014 at 3:47 PM, hao2my notifications@github.com wrote:

[image: 2048 hmm]https://cloud.githubusercontent.com/assets/7282682/2690408/64652308-c344-11e3-8a31-80ab9eadce63.png

This is what I got so far.

— Reply to this email directly or view it on GitHubhttps://github.com/nneonneo/2048-ai/issues/18#issuecomment-40317538 .

hao2my commented 10 years ago

Then for python part I'll do " cd 2048-ai-master ; /configure ; python 2048.py "

Thank you so much nneonneo! You are a lifesaver. I really appreciate it that you helped solve this problem of mine.