On Jul 11, 2006, at 7:22 AM, Frederik Armknecht wrote:
Hi everyone,
I try to run TOSSIM on Windows using cygwin but without success. :-(
When I type "make micaz sim" in the apps/Blink folder, I receive a
very
long list of comments/warnings/errors (see below).
The versions of ncc and nescc I use are 1.2.1 and 1.2.7a,
respectively.
Please, can anybody help me on this.
Thanks in advance and best regards,
Frederik
It looks like it's an issue with your Python version.
This is what's causing the compilation to fail:
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:30:20: Python.h: No such
file or directory
If you look in the file
support/make/sim.extra
there's a variable
PYTHON_VERSION=2.3
It uses this to define the path to your python include files:
PYDIR =/usr/include/python$(PYTHON_VERSION)
It looks like you don't have a file
/usr/include/python2.3/Python.h
So if you can find out where your python files are (e.g., python -V
might tell you the version number), then you want to get the Makefile
to point to that.
For the non-beta release, we'll probably try to get the RPM to
automatically determine your Python version, but that's not in there
yet.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help