[Tinyos-help] tinyviz error (tinyos tutorial 5)
umar hafeez
umarhafeez at yahoo.com
Thu Jan 4 18:19:06 PST 2007
Yes, as instructed in chad metcalf's guide (5secondfuse.com)
I think i have some broken packages nevertheless, usually when i follow the guide (with alteration for uisp), tinyos-1.x make mica2 works but make pc does never work............. and tinyos-2.x make micaz sim works perfectly... this time the install is very strange, because this make pc is working and i get this far, but tinyos i just checked is not working at all... i think some packages are conflicting in this and i have no idea why, so i goin for a reinstall (but i know i will be back to my original problem instead of this one)...
----- Original Message ----
From:
Chalermphol T. <t.chalermphol at gmail.com>
To: umar hafeez <umarhafeez at yahoo.com>
Sent: Thursday, 4 January, 2007 7:45:36 PM
Subject: Re: [Tinyos-help] tinyviz error (tinyos tutorial 5)
Have you compile the java stuffes? using "make"
Chalermphol
On 1/4/07, umar hafeez <umarhafeez at yahoo.com> wrote:
Hi,
I got the following error when trying to use tinyviz (with the tinyviz -run /build/pc/main.exe 30)
umar at umar-laptop:/opt/tinyos-1.x/apps/TestTinyViz$ tinyviz -run build/pc/main.exe 30
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= net.tinyos.sim.SimDriver -gui -run build/pc/main.exe 30
Starting SimDriver...
Simulation random seed 1341307903
Initializing simulator objects...
getenv JNI library not found. Env.getenv will not work
(please consult installation directions in
tinyos-1.x/tools/java/net/tinyos/util/Env.INSTALL)
Loading simulator plugins...
Exception in thread "main" java.lang.NullPointerException
at net.tinyos.sim.PluginManager.register(PluginManager.java:77)
at net.tinyos.sim.SimDriver.<init>(
SimDriver.java:258)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Any way to solve this???
Also :
sudo tinyviz -run build/pc/main.exe 30
throws an error which i think is odd since, to make the apps, i have to sudo
all the time in ubuntu (e.g. sudo make pc or sudo make mica2)
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070104/6b259573/attachment-0001.html
More information about the Tinyos-help
mailing list