Joseph Mack PhD, High Performance Computing & Scientific Visualisation
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote on 03/09/2005 01:58:15
PM:

I've changed

#include <types.h>

at the top of basic.h to

#include <sys/types.h>

and the compile is proceding again. I assume the order of the
-I directives in the compile line is backwards.

Joe

> I'm attempting to compile dx with graphviz support
> (because the configure
> script looks for graphviz, but I don't really know what
> graphviz does)
>
> the definition of "point" in graphviz-2.3
> (/usr/include/graphviz/types.h)
>
> typedef struct point {
>    int x,y;
> } point;
>
> the definition of "point" in dx-4.3.2 (../include/dx/basic.h) is
>
> typedef struct point (
>    float x,y,z;
> } Point, Vector;
>
> The dx compile stops on reaching the definition of "point"
> saying that
> it's already declared.
>
> I looked in older versions of graphviz (1.12) and dx (4.2.
> 0) to find the
> same definitions, i.e. this situation has been around for
> a while. I've
> previously compiled these older versions of dx with graphviz and not
> had any trouble (I've got a working version of dx at least).
>
> What should I do to get dx to compile?
>
> Thanks
> Joe
>
> --
> Joseph Mack PhD, High Performance Computing & Scientific
> Visualization
> LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
> Federal Contact - John B. Smith 919-541-1087 - [EMAIL PROTECTED]

Reply via email to