Computer Chess Club Archives


Search

Terms

Messages

Subject: I have no makefile for fruit, but I compiled it by a different way.

Author: Andrey Popov

Date: 22:50:54 06/23/05

Go up one level in this thread


On June 23, 2005 at 05:01:42, Bernhard Bauer wrote:

>On June 22, 2005 at 09:35:10, Andrey Popov wrote:
>
>>On June 22, 2005 at 09:09:05, P L Patodia wrote:
>>
>>>On June 22, 2005 at 07:42:53, Andrey Popov wrote:
>>>
>>>>On June 22, 2005 at 05:49:49, milix wrote:
>>>>
>>>>>On June 22, 2005 at 05:39:13, Andrey Popov wrote:
>>>>>
>>>>>>When I tried to compile Fruit 2.1, I found the following error:
>>>>>>c:\frusrc\material.cpp(137) : error C2061: syntax error : identifier 'key'
>>>>>>
>>>>>>entry = &Material->table[KEY_INDEX(key)&Material->mask];//error line 137
>>>>>
>>>>>What is the definition of the (macro?) KEY_INDEX?
>>>>
>>>>#define KEY_INDEX(key) (uint32(key))
>>>
>>>Change the definition as follows:
>>>#define KEY_INDEX(key) ((uint32)(key))
>>>
>>>I hope it should work.
>>
>>This really works now. Thank you!
>
>Could you or someone else post the makefile please?
>Kind regards
>Bernhard
I have no makefile for fruit, but I compiled it by a different way:
I entered Visual C++ GUI, loaded main.cpp, manually (file after file) collected
the project and compiled it.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.