Page 1 of 1

crafty problem

PostPosted: 23 Nov 2004, 03:31
by caesar
hi

i have a problem to compile crafty , i dled all the crafties from the ftp site ,but can't compile the exe file , if i use the batchfile it gives errors and it is not supposed to do that , can anyone help me ?

Re: crafty problem

PostPosted: 23 Nov 2004, 07:23
by Jim Ablett
Hi Caesar,

Here's a link to a very good site which contains ready-made makefiles
(for use with GCC/Mingw32/DevC++) enabling you to make you very own Crafty executables from the source code. Latest makefile is for
v1915, but it can be used with the latest source code (v1917) available
from Bob Hyatt's Crafty Site.

http://members.fortunecity.de/loggel/crafty/index.html

Regards,
Jim

Re: crafty problem

PostPosted: 23 Nov 2004, 15:57
by caesar
yes that's the site i used , but it's not working for me , that's the problem , i do what they tell me to do , but i get errors during compiling

i dled the gcc software and i installed it in the right folder
i dled the zip file to compile

i click on the batchfile and everything goes like supposed to till it has to make the exe file then i get 2 or 3 errors and no exe file

so is there anyone who can help me with that ?

Re: crafty problem

PostPosted: 23 Nov 2004, 19:31
by Pallav Nawani
caesar wrote:yes that's the site i used , but it's not working for me , that's the problem , i do what they tell me to do , but i get errors during compiling

i dled the gcc software and i installed it in the right folder
i dled the zip file to compile

i click on the batchfile and everything goes like supposed to till it has to make the exe file then i get 2 or 3 errors and no exe file

so is there anyone who can help me with that ?


Sure.
Post your batch file, post the errors you get, post the location where you installed Mingw, and I will see what I can do.

Pallav

Re: crafty problem

PostPosted: 23 Nov 2004, 19:33
by Jim Ablett
Make clean backup copy of devc++ bin directory.
Put crafty source files and makefile in bin directory of devc++.
open command prompt.
cd to c:/dev-cpp/bin directory
type make
compiled crafty exe (all going well) will now reside in bin directory

Jim.

Re: crafty problem

PostPosted: 23 Nov 2004, 20:03
by Jim Ablett
Sorry, I forgot to mention,
You must comment/un-comment these lines in the makefile so it looks like this >

Code: Select all
#objects = searchr.o search.o thread.o .............................
objects = crafty.o egtb.o


It should now compile without error (you will get a few warnings but don't worry)

Jim.