[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ParameterHeatbugs
From: |
Paul Johnson |
Subject: |
Re: ParameterHeatbugs |
Date: |
Wed, 11 Dec 2002 07:40:57 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 |
The syntax of that method changed.
Here's how I find out what it changed to:
$ cd /usr/include/swarm/
$ grep getWith *
defobj.h:- getWithZone: (id <Zone>)aZone key: (const char *)key;
so you need to replace the object with key.
In case you are interested in the Parameter passing element of that
project, I have a tutorial addition here:
http://lark.cc.ku.edu/~pauljohn/ps909/Agent-Based_Models/simpleObserverBug3-6.tar.gz
I only say that because I have no recollection whatsoever if
ParameterHeatbugs does anything worth looking at. Maybe it does. But
it has been a long time.
Li An wrote:
Hi,
For the example of ParameterHeatbugs.tar.gz, there is a compile problem
as shown below. What could be the problem? Li
address@hidden heatbugs]$ ls
ant.png HeatbugModelSwarm.h HeatSpace.h MyParameters.h
ChangeLog HeatbugModelSwarm.m HeatSpace.m MyParameters.h~
COPYING HeatbugModelSwarm.m~ HeatSpace.o MyParameters.m
HeatbugBatchSwarm.h Heatbug.o main.m MyParameters.m~
HeatbugBatchSwarm.m HeatbugObserverSwarm.h main.m~ README
Heatbug.h HeatbugObserverSwarm.m Makefile
Heatbug.m heatbugs.scm Makefile~
address@hidden heatbugs]$ make
gcc3 -c -g -O2 -march=i386 -mcpu=i686 -Wall -Wno-import -Wno-protocol
-Werror -D_GNU_SOURCE -DAPPNAME=heatbugs -DAPPVERSION=2.0
address@hidden -I/usr/include/swarm main.m
cc1obj: warnings being treated as errors
main.m: In function `main':
main.m:39: warning: method `getWithZone:object:' not implemented by
protocol.
main.m:39: warning: return type defaults to id
make: *** [main.o] Error 1
Li An
Systems Modeling Lab
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.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.
- Re: 'id_SwarmActivity_c', 'id_ScheduleIndex_c' and '_activity_swarmSyncType'?, (continued)
- Re: 'id_SwarmActivity_c', 'id_ScheduleIndex_c' and '_activity_swarmSyncType'?, Li An, 2002/12/08
- Re: 'id_SwarmActivity_c', 'id_ScheduleIndex_c' and '_activity_swarmSyncType'?, Philip Mötteli, 2002/12/08
- Re: arborgames complile, Paul Johnson, 2002/12/10
- Re: arborgames complile, Li An, 2002/12/10
- Re: arborgames complile, Paul E Johnson, 2002/12/10
- Re: arborgames complile, Li An, 2002/12/10
- ParameterHeatbugs, Li An, 2002/12/10
- Re: ParameterHeatbugs,
Paul Johnson <=