[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upgraded to Swarm2.1.1 and compilation problems
From: |
SCHREIBER,DARREN MATTHEW |
Subject: |
Re: Upgraded to Swarm2.1.1 and compilation problems |
Date: |
Thu, 20 Apr 2000 16:07:42 -0700 (PDT) |
Thanks for the solution... I had looked at that page, but for some reason
didn't realize it applied. Now, I have solved that problem and cleaned up
a few of the other messes. But, I am getting an error about finding
-lspace. I checked the porting notes and then searched the support
archive.
Here's the compilation results:
cd c:/Swarm-2.1.1/MyWork/Housing1.0.1/
make -k
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Wno-error
-DAPPNAME=Housing -DDLL -I/Swarm-2.1.1/include main.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Wno-error
-DAPPNAME=Housing -DDLL -I/Swarm-2.1.1/include ObserverSwarm.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Wno-error
-DAPPNAME=Housing -DDLL -I/Swarm-2.1.1/include ModelSwarm.m
ModelSwarm.m: In function `-[ModelSwarm getDissimilarity]':
ModelSwarm.m:415: warning: suggest parentheses around assignment used as
truth value
ModelSwarm.m:424: warning: suggest parentheses around assignment used as
truth value
/bin/sh /Swarm-2.1.1/bin/libtool-swarm --mode link gcc -g -O2
-L/Swarm-2.1.1/lib -rpath /Swarm-2.1.1/lib -o Housing.exe main.o
ObserverSwarm.o ModelSwarm.o SchellingWorld.o Person.o Neighborhood.o
Shuffler.o Tract.o EmptySpace.o -lspace -lswarmdll -lobjcdll
gcc -g -O2 -o Housing.exe main.o ObserverSwarm.o ModelSwarm.o
SchellingWorld.o Person.o Neighborhood.o Shuffler.o Tract.o EmptySpace.o
-L/Swarm-2.1.1/lib -lspace -lswarmdll -lobjcdll -Wl,--rpath
-Wl,/Swarm-2.1.1/lib -Wl,--rpath -Wl,/Swarm-2.1.1/lib
/Swarm-2.1.1/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lspace
collect2: ld returned 1 exit status
make: *** [Housing.exe] Error 1
make: Target `all' not remade because of errors.
Compilation exited abnormally with code 2 at Thu Apr 20 15:57:56
On Thu, 20 Apr 2000, Marcus G. Daniels wrote:
> >>>>> "DS" == SCHREIBER,DARREN MATTHEW <address@hidden> writes:
>
> DS> Cannot find protocol declaration for `UniformDouble'
> DS> ModelSwarm.h:47: Cannot find protocol declaration for
> DS> `UniformInteger'
>
> Those names were old backward-compatibility names that were finally
> retired. This was mentioned in the porting notes:
>
> http://www.santafe.edu/projects/swarm/swarmdocs/refbook/swarm.compatibility.sgml.preface.html#AEN526
>
> Specifically, replace UniformDouble with UniformDoubleDist and UniformInteger
> with UniformIntegerDist. The other unused-variables warning you might
> as well fix.
>
>
> ==================================
> 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.
>
>
==================================
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.