Jason Beeland wrote:
> Hi, my name is Jason Beeland, and I'm working on integrating the ascii map
> code posted on circlemud.org into my
> ud( ftp://ftp.circlemud.org/pub/CircleMUD/contrib/code/mapsnip.txt ). I
> have gotten the maputils.c file compiled and completed the changes to comm.c
> and act.informative.c. I
> am now ready to start making maps. I have been attempting to get the mapgen
> source the author provided to compile. Unfortunately I have had no success
> whatsoever. Honestly my c compiler (gcc under linux-mandrake 6.0) had quite
> a fit over it. The most obvious error is that apparently my compiler does
> not like variable declaration anywhere other than the head of a function.
> So i declared all variables at the begining of each of the funcitons. Still
> no dice. It also has a problem with these statements:
> codes[i] = new char [256];
Actually no C compiler will compile that code, the reason is because that is NOT
a C program! To compile it use a C++ compiler (you can use g++ under Linux).
Regards, Peter
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST