Zhuo,
The $CLASSPATH variable for your shell (probably bash) need to be set up to
include TinyOS's directories every time you run it (i.e. open up a terminal
window), so you need to either:
1) Run the script that Joao references every time you open up a new
terminal, which can be done by modifying
Didn't you source from a script like this?
#! /usr/bin/env bash
# Here we setup the environment
# variables needed by the tinyos
# make system
echo "Setting up for TinyOS"
export TOSROOT=
export TOSDIR=
export MAKERULES=
TOSROOT="/opt/tinyos-2.x"
TOSDIR="$TOSROOT/tos"
CLASSPATH=$CLASSPATH:$TOSRO
Hi,
I ran $ tos-check-env on my computer and there are several warnings
shown up. One of them says "CLASSPATH may not include ...". Would you
please help me on setting the CLASSPATH?
Thanks,
Zhuo Chen
--
Lab of Next Generation Network
Dept. of Electronic Engineering
Tsinghua University
Beijing