Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: need help in compiling Crafty

Author: Peter Skinner

Date: 09:23:39 02/19/05

Go up one level in this thread


On February 19, 2005 at 11:42:53, Mike Byrne wrote:

>On February 19, 2005 at 05:39:37, Peter Skinner wrote:
>
>>
>>Hi Mike,
>>
>>I did all that, but I get this error:
>>
>>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.40904 for 80x86
>>Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>>x1.c
>>x1.c(8636) : fatal error C1083: Cannot open include file: 'sys/times.h': No such
>> file or directory
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>I have looked through my entire system, and I have time.h, but no times.h.
>>
>>Really odd.
>>
>>Any clue?
>>
>>Peter
>
>
>yes - that code should NOT be called if you are compiling a "NT_i386" build
>
>
>this snipper from utility.c
>==================================================
>#if defined(NT_i386)
>#  include <windows.h>
>#  include <winbase.h>
>#  include <wincon.h>
>#  include <io.h>
>#  include <time.h>
>#else
>#  include <sys/times.h>
>#  include <sys/time.h>
>#endif
>===================================================
>
>so make sure you have these lines at the top of makefile.nt
>======================================================
># Build target is defined here.
>TARGET   = NT_i386
>
># Command-line compiler and linker invocation commands:
>CC       = cl
>LD       = link
>========================================================
>
>it looks like I did a poor copy and past job and missed these lines in a
>previous post where I posted  "makefile.nt" and that is why you have the error.

Well it seems there are other problems with the "Express" version. It is missing
the libraries that allow for POGO compiles.

That is a feature in the entire studio that you can order. So I just did that
now.

Peter



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.