Home > Database > Mysql Tutorial > body text

TinyOS学习笔记2

WBOY
Release: 2016-06-07 15:27:02
Original
1120 people have browsed it

TinyOS 学习笔记2 2010.8.3 3. 测试 TinyOS 中的 Toosim make micaz sim 提示找不到 python2.5 查看本机 python 的版本,我的版本为 2.6 进入 /opt/tinyos-2.1.1/support/make/sim.extra 修改 python 的版本 PYTHON_VERSION=2.6 重新 make micazsim 提示 ***

TinyOS学习笔记2

 

2010.8.3

3.测试TinyOS中的Toosim

make micaz sim

提示找不到python2.5

查看本机python的版本,我的版本为2.6

进入/opt/tinyos-2.1.1/support/make/sim.extra

修改python的版本PYTHON_VERSION=2.6

重新make micazsim

提示*** Successfullybuilt micaz TOSSIM library.则可运行tossim

4.安装Eclipse以及TinyOSIDE-Yeti2

   1)下载,解压Eclipse

Eclipse,在桌面创建启动器,连接Eclipse.

2)参考http://tos-ide.ethz.ch/wiki/index.php

Help->Install New Software

3)点击AddName:Yeti2locationhttp://tos-ide.ethz.ch/update/site.xml

4)  next等待更新

5)选择如下,进行安装

 

6) 安装Graphical Editing Framework

 若出现如下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Yeti 2 - TinyOS Debugger (optional) 1.2.18 (tinyos.yeti.debugger.feature.group 1.2.18)
  Missing requirement: Yeti 2 - TinyOS Debugger (optional) 1.2.18 (tinyos.yeti.debugger.feature.group 1.2.18) requires 'org.eclipse.cdt.debug.core 0.0.0' but it could not be found

在安装Eclipse时解压错误,导致一些文件没有正确安装,卸载Eclipse重新安装,注意是先解压后再拷贝到相应的目录(使用tar出错的),再次安装问题解决。


7)安装完毕,设置环境变量

Window->Preferences->TinyOS->Environments

 检查各个目录,点击ApplyOK,设置完毕。

8)检查TinyOS的安装

TinyOS->CheckInstallation(需要新建一个TinyOS项目才会出来此选项,在上部Window旁)

我的返回:Done

         Errors0

         Warnings1

警告的部分:

Test:Environment variables

Description: Compare the environment variables known toEclipse with the variables known to the shell

Environment variables differ, this can lead to failureswhen compiling or debugging an application.

 

CLASSPATH:

  Eclipse = ''

  Shell   =':/opt/tinyos-2.1.1/support/sdk/java'

 

LESSCLOSE:

  Eclipse = ''

  Shell   ='/usr/bin/lesspipe %s %s'

 

LESSOPEN:

  Eclipse = ''

  Shell   ='| /usr/bin/lesspipe %s'

 

LS_COLORS:

  Eclipse = ''

  Shell   =''

 

MAKERULES:

  Eclipse = ''

  Shell   ='/opt/tinyos-2.1.1/support/make/Makerules'

 

TOSDIR:

  Eclipse = ''

  Shell   ='/opt/tinyos-2.1.1/tos'

 

TOSROOT:

  Eclipse = ''

  Shell   ='/opt/tinyos-2.1.1'

Status: warning

Message: Not all environment variables are thesame

警告未解决!!!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!