[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running Village4-1 under Swarm 1.0.5
From: |
Paul Johnson |
Subject: |
Running Village4-1 under Swarm 1.0.5 |
Date: |
Sun, 18 Jan 1998 23:10:40 -0600 (CST) |
I've decided to see what this program does. To fix it, I took these
steps:
1. The file Exchange.h needs #import <stdlib.h>
2. Make changes of several Probemap * probemap statements
into id <Probemap> probemap.
3. Change the statement in AgentObserverSwarm.m that included doTkEvents
so that the object at which the message is aimed isactionCache, instead
of controlPanel.
After these changes, I can make the vila4 program, with the (possibly minor)
exception of compiler warnings about duplicate definitions of getState. To
be thorough, here is the make warning:
AgentObserverSwarm.m: In function `_i_AgentObserverSwarm__buildObjects':
AgentObserverSwarm.m:178: warning: multiple declarations for method `getState'
/swarm/swarm-1.0.5/include/simtools.h:20: warning: using `-getState'
Agent.h:118: warning: also found `-(int)getState'
Now, when I run vila4, the program seems to run (well, I don't know
what it is supposed to look like, but I think it runs) only when the
zoom factor is set to 1. If I set it to any other value, it crashes,
dumps core, and says this:
*** event raised for error: WindowUsage
nonsquare zoom given.
*** execution terminating due to error
Aborted (core dumped)
This happens if the zoom is set at 4, or any number but 1, AFAIK.
Paul Johnson
==================================
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.
==================================