I´m sorry for the vagueness of my message. You're absolutely right.
I´ll try to describe my problem more precisely:
I took directly the executable file named sss.exe (that "swarm-2.1.1 demos"
leaves in the bin directory) from a computer with Swarm-2.1.1 installed on
it. The application works fine in that computer (Swarm-2.1.1 for Windows
98).
With that file (sss.exe), the map of the sugarscape (sugarspace.pgm) and
some other files (II-1.model and similar files that were in the
Swarm-2.1.1/share/swarm/sss/ directory), I tried to make it run in my
computer (Swarm-2.2 and Windows Me).
When I type sss.exe from the cygwin shell, I see most of the windows appear
for a second and then they all disappear. Then, the only message that I get
is "Aborted (Core dumped)". A new file is created, named "SSS.EXE.stackdump"
whose content I don't quite understand. I attach it.
I can't compile the source code because I haven't got it and I don't know
where to get it.
Thank you very much and excuse my vagueness. I just thought that maybe there
was a new version for Swarm-2.2 that I didn´t know. Thanks a lot and sorry.
Luis
----- Original Message -----
From: "Paul E Johnson" <address@hidden>
To: <address@hidden>
Sent: Wednesday, April 03, 2002 1:37 PM
Subject: Re: Sugarscape
It
Luis R. Izquierdo wrote:
> Hi everybody!
>
>
>
> I´m trying to run the sugarscape application with Swarm-2.2 but I can´t.
>
> I was successful with Swarm-2.1.1 but now it crashes just when it tries
> to build the raster (I think).
>
> Can anyone give me a hand?
On RedHat Linux, it still runs for me.
At compile time, I see this:
Shuffler.m:26:34: multi-line string literals are deprecated
Shuffler.m:35:37: multi-line string literals are deprecated
make: *** [Shuffler.o] Error 1
but if I do
$ make EXTRAOBJCFLAGS=-Wno-error
then it compiles and runs fine.
I suggest that you should consider getting a clean snap of the sss-2.1
code, and try again. THen apply the usual debugging procedures when you
get the crash.
I'm afraid nobody has found it in their interest to do much work writing
up "how to use the GNU debugger with Swarm". My students had enough
trouble with it that I put together a couple of examples, but they are a
little old now, so your mileage may vary:
http://lark.cc.ukans.edu/~pauljohn/ps909/Agent-Based_Models/GDBUsage01.txt
http://lark.cc.ukans.edu/~pauljohn/ps909/Agent-Based_Models/GDBUsage02.txt
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
Content-type: application/octet-stream; name=SSS.EXE.stackdump
Content-disposition: attachment; filename=SSS.EXE.stackdump
Content-transfer-encoding: 7bit
Attachment converted: Macintosh HD:SSS.EXE.stackdump (????/----) (00102704)