swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] pretest 10 (for Windows)


From: Suman Kanuganti
Subject: Re: [Swarm-Support] pretest 10 (for Windows)
Date: Thu, 18 Sep 2003 13:14:38 -0700 (PDT)

Awesome, Well I was playing with pretest-10 and
finally got it work, thanks to marcus and pietro. 
So previously problem was with my old version of
cygwin, not though much old but I updated it and there
were same sequence of error that pietro had and I
could fix it by following the posted messages. 
Overall it works but I had two problems:

1. After my simulation ends, when I say quit from
contral panel, it results in an java.exe Application
Error giving a pop up, "The instruction at
"0xSomehexnum" referenced memory at "0xSomehexnum" ,
memory could not be read, click ok to terminate"
But it doesnt effect anything, is that may be problem
with java or problem with my program?

2. I was trying to make an executable using gcj. 
I have given,

CLASSPATH=/Swarm-2.2/share/swarm/swarm.jar gcj -O2 -g
--main=StartFluModel -L /Swarm-2.2/lib *.class
/Swarm-2.2/lib/gcj{swarm,bytecode}.o -o StartFluModel 

Now, it results in an error,
gcj: libgcj.spec : No such file or directory 

though, libgcj.spec is in /Swarm-2.2/lib directory. 
What might be the problem?


I greatly appreciate all your help in getting me
through this. 
Thanks,
Suman K
--- Pietro Terna <address@hidden> wrote:
>          Hi Suman,
> 
>          with Marcus suggestion all is working fine.
> 
>          If your problem is simililar to mine, see
> my previous mail (reply 
> to Marcus).
> 
>          Otherwise let us know what kind of problem
> you have (anyway 
> installation suggestion are in the FAQ at 
>
http://www.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html).
> 
>          Pietro
> 
> At 03.00 16/09/2003 -0700, you wrote:
> >Could any write in brief how to make it work if you
> >could run it successfully. I had very hard time
> with
> >swarm on windows, for whatever reason I am linux
> >person but I would love to have my simulation
> working
> >in windows for my people. I was waiting for this
> for
> >past 6 months, thanks to marcus.
> >
> >Suman K
> >--- Pietro Terna <address@hidden> wrote:
> > >          Hi Marcus,
> > >
> > >          I'm sorry of creating noise about the
> > > various Swarm-2.2 pretests
> > > (and many thanks for your effort), but I'm
> blocked
> > > again.
> > >
> > >          I've today's versione of Cygwin
> installed
> > > and I've simply
> > > substituted the previous (pretest 9)
> c:/Swarm-2.2
> > > directory with the new
> > > one (pretest 10); that directory is mounted in
> the
> > > Cygwin hierarchy.
> > >
> > >          I obtain the errors below.
> > >
> > >          All the best, Pietro
> > >
> > > 1. -------
> > >
> > > address@hidden ~/swarmApps/jheatbugs-2001-03-28
> > > $ make
> > > /Swarm-2.2/bin/javacswarm Heatbug.java
> HeatCell.java
> > > HeatSpace.java
> > > HeatbugModel Swarm.java 
> HeatbugObserverSwarm.java
> > > StartHeatbugs.java
> > > HeatbugBatchSwarm.java
> > >
> > >
> > > Issued 1 lexical warning in
> > >
> "c:/swarmApps/jheatbugs-2001-03-28/Heatbug.java":
> > >
> > >     122.   public Object setX$Y (int inX, int
> inY) {
> > >                          ^----^
> > > *** Lexical Warning: The use of "$" in an
> > > identifier, while legal, is
> > > strongly discouraged, since it can conflict with
> > > compiler-generated names.
> > > If you are trying to access a nested type, use
> "."
> > > instead of "$".
> > >
> > > address@hidden ~/swarmApps/jheatbugs-2001-03-28
> > > $ javaswarm StartHeatbugs
> > > BLT support file `bltGraph.tcl' not found
> > > If the directory `/Swarm-2.2/share/blt2.4' not
> the
> > > intended location for
> > > the BLT support files,
> > > please adjust BLT_LIBRARY to the right place.
> > >
> > > 2. -------
> > >
> > > address@hidden ~/swarmApps/jheatbugs-2001-03-28
> > > $ CLASSPATH=/Swarm-2.2/share/swarm/swarm.jar gcj
> -O2
> > > -g
> > > --main=StartHeatbugs -L /Swarm-2.2/lib *.class
> > > /Swarm-2.2/lib/gcj_{swarm,gnubytecode}.o -o
> > > jheatbugs
> > > gcj: /Swarm-2.2/lib/gcj_swarm.o: No such file or
> > > directory
> > > gcj: /Swarm-2.2/lib/gcj_gnubytecode.o: No such
> file
> > > or directory
> > >
> > > 3. -------
> > >
> > > address@hidden
> ~/swarmApps/swarmapps-2.1.1/heatbugs
> > > $ make
> > > /bin/sh.exe /Swarm-2.2/bin/libtool-swarm --mode
> link
> > > gcc -g -O2
> > > -L/Swarm-2.2/lib
> > >   -rpath /Swarm-2.2/lib  -o heatbugs.exe
> Heatbug.o
> > > HeatSpace.o main.o
> > > HeatbugMode
> > > lSwarm.o HeatbugObserverSwarm.o
> HeatbugBatchSwarm.o
> > > -lswarm
> > > gcc -g -O2 -o heatbugs.exe Heatbug.o HeatSpace.o
> > > main.o HeatbugModelSwarm.o
> > > Heat
> > > bugObserverSwarm.o HeatbugBatchSwarm.o
> > > -L/Swarm-2.2/lib
> > > /Swarm-2.2/lib/libswarm
> > > .dll.a -L/build/swarm/src/space
> > > -L/build/swarm/src/analysis
> > > -L/build/swarm/src/s
> > > imtoolsgui -L/build/swarm/src/simtools
> > > -L/build/swarm/src/random
> > > -L/build/swarm/
> > > src/tkobjc -L/build/swarm/src/tclobjc
> > > -L/build/swarm/src/objectbase
> > > -L/build/swa
> > > rm/src/activity -L/build/swarm/src/defobj
> > > -L/build/swarm/src/collections
> > > -L/buil
> > > d/swarm/src/misc -L/build/swarm/libobjc
> -L/usr/lib
> > > -lBLT24 -ltk84 -ltcl84 -lXpm
> > > -lpng -lz -luser32 -lgdi32 -Wl,--rpath
> > > -Wl,/Swarm-2.2/lib -Wl,--rpath
> > > -Wl,/Swarm
> > > -2.2/lib
> > > /usr/bin/ld: cannot find -lBLT24
> > > collect2: ld returned 1 exit status
> > > make: *** [heatbugs.exe] Error 1
> > >
> > > --------
> > >
> > > At 00.30 15/09/2003 -0600, you wrote:
> > >
> >
>
>ftp://ftp.santafe.edu/pub/swarm/binaries/w32/latest/Swarm-2.2-pretest-10.
> 
> > tar.gz
> > > >
> > > >This assumes a current install of Cygwin.
> > > >
> > > >Pretest 10 brings back support for gcj-compiled
> > > apps, and provides these
> > > >fixes:
> > > >
> > > >1) the crash noted by Pietro Terna from
> > > right-clicking on the object
> > > >handle for a ProbeDisplay (to get the
> > > CompleteProbeDisplay)
> > > >
> > > >2) the off-by-one problem right clicking on
> raster
> > > objects, e.g. getting a
> > > >heatbug ProbeDisplay
> > > >
> > > >(Neither of these problems were
> Windows-specific.)
> > > >
> > > >
> > > >_______________________________________________
> > > >Support mailing list
> > > >address@hidden
> > > >http://www.swarm.org/mailman/listinfo/support
> > >
> > > _______________________________________________
> > > Support mailing list
> > > address@hidden
> > > http://www.swarm.org/mailman/listinfo/support
> >
> >
> >=====
> >Suman Kanuganti,
> >Swarm Group, Anth Dept.,
> >University of Missouri, Columbia.
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> >http://sitebuilder.yahoo.com
> >_______________________________________________
> >Support mailing list
> >address@hidden
> >http://www.swarm.org/mailman/listinfo/support
> 
=== message truncated ===


=====
Suman Kanuganti,
Swarm Group, Anth Dept., 
University of Missouri, Columbia.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


reply via email to

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