[ODE] Compilation problem vith VC6

Alessandro Monopoli amonopoli at virgilio.it
Thu May 20 02:59:43 MST 2004


Sure!

/* per-machine configuration. this file is automatically generated. */

#ifndef _ODE_CONFIG_H_
#define _ODE_CONFIG_H_

/* standard system headers */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdarg.h>
#include <malloc.h>
#include <float.h>

#ifdef __cplusplus
extern "C" {
#endif

/* is this a pentium on a gcc-based platform? */
/* #define PENTIUM 1 -- not a pentium */

/* integer types (we assume int >= 32 bits) */
typedef char int8;
typedef unsigned char uint8;
typedef short int16;
typedef unsigned short uint16;
typedef int int32;
typedef unsigned int uint32;

/* an integer type that we can safely cast a pointer to and
 * from without loss of bits.
 */
typedef unsigned int intP;

/* select the base floating point type */
#define dDOUBLE 1

/* the floating point infinity */
#define dInfinity DBL_MAX

/* available functions */
#define sqrtf sqrt
#define sinf sin
#define cosf cos
#define fabsf fabs
#define atan2f atan2
#define fmodf fmod
#define copysignf copysign
#define copysign _copysign
#define snprintf _snprintf
#define vsnprintf _vsnprintf

#ifdef __cplusplus
}
#endif
#endif

>
> can you post your config.h ?
>
> russ.
>
> --
> Russ Smith
> http://www.q12.org/
>
> On Thu, 20 May 2004, Alessandro Monopoli wrote:
>
> > Hi all!
> >
> > If I try to compile a program using the newest CVS ODE, I get This
error:
> >
> > error C2064: term does not evaluate to a function
> >
> > Every time I use "sinf" or "cosf".
> > If I reset the headers of the 0.039 version, the problem disappear.
> >
> > Does someone have some ideas?
> >
> > Bye!
> > Alex
>



More information about the ODE mailing list