Sorry my bad. I got it working. I have to use "sky" platform instead of "elf" (I did not know what is elf ). But the wiki page should have been updated, may be very few people are using mspsim now. Is there any updated tutorial I can find to use mspsim with Tinyos applications ?
On 11/01/2013 02:02 PM, Jenis Modi wrote:
Hi ,

Has anybody used mspsim with tinyos ? I saw a tinyos wiki page ( http://tinyos.stanford.edu/tinyos-wiki/index.php/MSPSim) on it, but when I install this version, it gives me several errors:

make
javac -deprecation -classpath ".:lib/jfreechart-1.0.11.jar:lib/jcommon-1.0.14.jar" se/sics/mspsim/Main.java ./se/sics/mspsim/ui/WindowUtils.java:36: error: unmappable character for encoding UTF8
 * Author  : Joakim Eriksson, Niclas Finne, Fredrik ?sterlind
                                                    ^
./se/sics/mspsim/net/HC01PacketHandler.java:49: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment.TTFilter;
                 ^
./se/sics/mspsim/net/HC01PacketHandler.java:49: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment.TTFilter;
                 ^
./se/sics/mspsim/net/HC01PacketHandler.java:49: error: cannot find symbol
import sun.java2d.SunGraphicsEnvironment.TTFilter;
                                        ^
  symbol:   class TTFilter
  location: class SunGraphicsEnvironment
Note: ./se/sics/mspsim/ui/DebugUI.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
2 warnings
make: *** [se/sics/mspsim/Main.class] Error 1

So, I searched on these errors, and someone said that, this is older version. So, I found this git repo ( https://github.com/mspsim/mspsim) for it, but then if I am trying to follow wiki document for it, it installs correctly, but does not support "elf" platform. Can anybody help me how to use it ?

I am using Telosb nodes with Ubuntu 12.04.

--
Thanks.
Jenis


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Thanks.
Jenis

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to