From: tarjan@iastate.edu (RC Cola)
Subject: Re: Computer Diplomacy
Organization: Iowa State University, Ames, IA
Date: Mon, 16 Nov 1992 16:42:48 GMT

In article <1992Nov16.143844.17439@cs.tu-berlin.de> larsbuet@cs.tu-berlin.de (Lars Buettner) writes:
>I'm interested in using mapit (PD program for nice dip scenes in postscript).
>But nobody I know ever heard of it. Maybe 'good old germany' is to far away
>from diplomacies world. So how can I obtain a copy of mapit ?
>
>Thanks. Lars
>

Well I have it,, But I get these errors every time I try to compile..
(it is version 1.2)
If there is a more recent version.. please tell me!!


vincent% cc -o mapit mapit.c
ccom: Warning: mapit.c, line 131: illegal combination of pointer and integer, op =
            info_file = strdup(optarg);
      --------------------------------^
ccom: Warning: mapit.c, line 150: illegal combination of pointer and integer, op =
            ps_file = strdup(optarg);
      ------------------------------^
ccom: Warning: mapit.c, line 409: illegal combination of pointer and integer, op =
              orders[ordernum] = strdup(country);
      ------------------------------------------^
ccom: Warning: mapit.c, line 490: illegal combination of pointer and integer, op =
          units[unitcount].country = strdup(country);
      ----------------------------------------------^
ccom: Warning: mapit.c, line 569: illegal combination of pointer and integer, op =
            p2 = strdup(p0);          
      ---------------------^
ccom: Warning: mapit.c, line 678: illegal combination of pointer and integer, op =
            orders[ordernum] = strdup(new);
      ------------------------------------^
ccom: Warning: mapit.c, line 683: illegal combination of pointer and integer, op =
            graphics[graphicnum] = strdup(newg);
      -----------------------------------------^
ccom: Warning: mapit.c, line 852: illegal combination of pointer and integer, op =
              units[unitcount].country = strdup(country);
      --------------------------------------------------^
ccom: Warning: mapit.c, line 1001: illegal combination of pointer and integer, op =
            units[unitcount].country = strdup(country);
      ------------------------------------------------^
ccom: Warning: mapit.c, line 1199: illegal combination of pointer and integer, op =
              orders[ordernum] = strdup(country);
      ------------------------------------------^
ccom: Warning: mapit.c, line 1271: illegal combination of pointer and integer, op =
            units[unitcount].country = strdup(country);
      ------------------------------------------------^
ccom: Warning: mapit.c, line 1279: illegal combination of pointer and integer, op =
          orders[ordernum] = strdup(new);
      ----------------------------------^
ccom: Warning: mapit.c, line 1491: illegal combination of pointer and integer, op =
            nation[nationcount] = strdup(copy);
      ----------------------------------------^
ccom: Warning: mapit.c, line 1517: illegal combination of pointer and integer, op =
              map[mapcount].nick = strdup(nick);
      -----------------------------------------^
ccom: Warning: mapit.c, line 1518: illegal combination of pointer and integer, op =
              map[mapcount].name = strdup(name);
      -----------------------------------------^
ccom: Warning: mapit.c, line 1521: illegal combination of pointer and integer, op =
              map[mapcount].nicks = strdup(nicks);
      -------------------------------------------^
ld
Undefined:
strdup
vincent% 

And that is it..


Any suggestions?

tarjan@iastate.edu
Scot Kight







Newsgroups: rec.games.diplomacy