Talk:TOSSIM

From TinyOS Wiki
Revision as of 21:32, 27 May 2011 by Nm padhy (talk | contribs) (New section: SWIG_Python error)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

thanks for every thing but how install TOSSIM? thanks

That is very easy. If you have install tinyos, you can use tossim without install anything more.

SWIG_Python error

While I install get the below error:

/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:

/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:880: warning: format not a string literal and no format arguments

As per the solution suggested installed SWIG

But do not find sing-generate script in tos/lib/tossim to regenerate Python support.

My system Env IS: UBuntu 10.04 Lucid. Python2.4


I have also installed swig, python setup tools as:

sudo apt-get install swig python-setuptools python-dev

successfully.

This is the only error bugging and no clue how to resolve. please post if there is any solution.