swarm-support
[Top][All Lists]
Advanced

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

Re: Simple Simulation problem


From: Paul E Johnson
Subject: Re: Simple Simulation problem
Date: Mon, 01 Jul 2002 18:50:46 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

I'm looking at your package now.

Next time you wrap something up, delete the *.class files and save a directory name, so that when I unzip your package, the files create their own directory and they all stay together.

I don't understand what your command to compile this might be.

It Looks to me that nothing compiles because you have this undefined "a" here in Agent1.java and Agent2.java:


   if (assValue.getValueAtX$Y(xPos, yPos) == 1)
            {
                        a = assValue.getValueAtX$Y(xPos, yPos);
System.out.println("Agent " + bugNumber + " has found Content of "+ a + " at " + xPos + ", " + yPos);
            }


After I fix that (make a a double), I get some monkey business that means trouble in my machine, I think. On RedHat linux, this indicates some problem with the way I'm building the rpm, I think.

Is this what you do?

$ javacswarm StartSimulation.java

Look what I get! I have no idea why a c++ dependency would arise. For c++ libraries I do have:

./lib/libstdc++-3-libc6.2-2-2.10.0.so
./lib/libstdc++-libc6.2-2.so.3
./lib/libstdc++-3-libc6.2-2-2.10.0.a
./lib/libstdc++-libc6.2-2.a.3

$ javaswarm StartSimulation
Error: failed /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

So, sorry, don't know how to help.

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           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.



reply via email to

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