
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Thanks! This header file fix my problem. Your program is really great!!!
Chris
----- Original Message -----
From: "Steffen Nissen" <[EMAIL PROTECTED]>
To: "Krzysztof Kolago" <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 8:55 AM
Subject: Re: Next problems
> It seems all of these problems refer to the gettimeofday function (and
> structures used for this function). Which you need to find the correct
> include file for. I found out that the borland compiler does not have
> this include file, but this file should help you out.
>
> If this does not help, the try to rewriting the fann_seed_rand()
> function to:
>
> void fann_seed_rand()
> {
> srand(0);
> }
>
> This should fix your problems, but the random function is not as random
> any more.
>
> On Thu, 2003-11-20 at 16:11, Krzysztof Kolago wrote:
> > Ok... I've done what you said, but Builder still can't compile example
> > project:
> >
> > Errors:
> > 1) [C++ Error] fann_internal.c(23): E2209 Unable to open include file
> > 'SYS\TIME.H' -> I've changed 'SYS\TIME.H' into 'time.h'.
> >
> > 2) [C++] fann_internal.c(343): E2350 Undefined structure 'timeval' ->
How to
> > "fix" this error? - I haven't got any idea...
> >
> > 3) [C++ Error] fann_internal.c(343): E2449 Size of 't' is unkonwn or
zero ->
> > It's probably because of 2nd error.
> >
> > (2) and (3) errors are both repeated several times.
> >
> > 4) [C++ Error] fann_internal.c(346): E2351 Undefined symbol 'tv_usec'.
> >
> > There are also two warnings:
> >
> > I) Call to function 'gettimeofday' with no prototype;
> > II) 'last_layer' is assigned a value that is never used.
> >
> > but I think that these warnings aren't important.
> >
> > So, have you got any idea, how to change fann_internal.h file?
> >
> > Chris
> >
> > PS. Sorry for my horrible English!
> >
| <-- __Chronological__ --> | <-- __Thread__ --> |