Difference between revisions of "Talk:TOSSIM"

From TinyOS Wiki
Jump to: navigation, search
(New page: thanks for every thing but how install TOSSIM? thanks)
 
(New section: SWIG_Python error)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
how install TOSSIM?
 
how install TOSSIM?
 
thanks
 
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.

Latest revision as of 22:32, 27 May 2011

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.