Octopus: ah a GUI...no wonder it doesn't work...
heh

For the new error, try to find Constants.java and see
why it doesn't contain that static variable.
MS

Katebe wrote:
> hello
> thank you for your reply.
> and to:
> 
>>> Do you have your CLASSPATH set to point to the TOS java>> tools jar or
>>> directory?
> 
> Here are the contents of "tinyos.sh" after the change because I forget to
> add "tinyos.jar", so the 22 errors disappear :
> #! /usr/bin/env bash
> # Here we setup the environment
> # variables needed by the tinyos 
> # make system
> 
> echo "Setting up for TinyOS 2.1.0"
> export TOSROOT=
> export TOSDIR=
> export MAKERULES=
> export PYTHONPATH=
> 
> TOSROOT="/opt/tinyos-2.1.0"
> TOSDIR="$TOSROOT/tos"
> CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:.
> MAKERULES="$TOSROOT/support/make/Makerules"
> PYTHONPATH="$TOSROOT/support/sdk/python"
> 
> export TOSROOT
> export TOSDIR
> export CLASSPATH
> export MAKERULES
> export PYTHONPATH
> #################################################################
> I've got a new error:
> 
> ****...@*******-desktop:/opt/tinyos-2.1.0/apps/Octopus/java$ make
> javac *.java
> WaitThread.java:11: cannot find symbol
> symbol  : variable WAIT_TIME
> location: class Constants
>                       sleep(Constants.WAIT_TIME);
>                                      ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> make: *** [OctopusGui.class] Error 1
> #####################################################
> and Octopus:
> Octopus is an open-source dashboard to visualise and to control a wireless
> sensor network in the TinyOS 2.x environment. Octopus provides users with a
> graphical user interface (GUI) for viewing the live sensor network topology.
> It also allows the user to dynamically control the behavior of sensor nodes,
> such as  the energy consumption, the sampling period, the radio duty cycle
> and formulating application queries to the nodes.
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to