Difference between revisions of "Talk:TOSSIM"

From TinyOS Wiki
Jump to: navigation, search
(New section: SWIG_Python error)
 
Line 6: Line 6:
 
That is very easy.
 
That is very easy.
 
If you have install tinyos, you can use tossim without install anything more.
 
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.