swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Random numbers...


From: Corey Washington
Subject: Help with Random numbers...
Date: Fri, 13 Jun 1997 17:34:23 -0400 (EDT)

OK, I've been trying to compile heatbugs.  I originally had trouble with
UniformDblRandom, I got the patch file, but I seem to be missing files
which the patch file refers to.  I've got Swarm 1.0.2, any suggestions?

It appears that global.h and simtools.m are defining global ids using 
three Obj-C protocols, <UniformInteger>, <UniformUnsigned>, and
<UniformDouble>, which are not present in *any* file in the patch code or
in the original code.  Clearly we're missing a file here.

I include below the results from doing a gmake on heatbugs.  As you can
see, it can't find the necessary protocols.

gcc -c -g -Wall -Wno-import -I../swarm/include 
-I/fs/clip/corwash/swarm/swarm/include -I/usr/imports/include 
-I/usr/imports/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/include 
-I/usr/imports/include/X11R6 -I/fs/clip/corwash/swarm/lib/include  
-I/fs/clip/corwas
h/swarm/swarm/src  Heatbug.m
In file included from ../swarm/include/simtools.h:6, from Heatbug.m:14:
../swarm/include/simtools/global.h:11: Cannot find protocol declaration for 
`PMMLCG1'
../swarm/include/simtools/global.h:12: Cannot find protocol declaration for 
`UniformInteger'
../swarm/include/simtools/global.h:13: Cannot find protocol declaration for 
`UniformUnsigned'
../swarm/include/simtools/global.h:14: Cannot find protocol declaration for 
`UniformDouble'
Heatbug.m: In function `_i_Heatbug__step':
Heatbug.m:153: warning: cannot find method.
Heatbug.m:153: warning: return type for `getDoubleWithMin:withMax:' defaults to 
id
Heatbug.m:153: pointer value used where a floating point value was expected
Heatbug.m:157: warning: cannot find method.
Heatbug.m:157: warning: return type for `getIntegerWithMin:withMax:' defaults 
to id
Heatbug.m:157: warning: assignment makes integer from pointer without a cast
Heatbug.m:159: warning: cannot find method.
Heatbug.m:159: warning: return type for `getIntegerWithMin:withMax:' defaults 
to id
Heatbug.m:159: warning: assignment makes integer from pointer without a cast
Heatbug.m:176: warning: cannot find method.
Heatbug.m:176: warning: return type for `getIntegerWithMin:withMax:' defaults 
to id
Heatbug.m:177: invalid operands to binary %
Heatbug.m:178: warning: cannot find method.
Heatbug.m:178: warning: return type for `getIntegerWithMin:withMax:' defaults 
to id
Heatbug.m:179: invalid operands to binary %
gmake: *** [Heatbug.o] Error 1

                        Thanks,
                                        -Zeki


                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]