Go to opt\tinyos-1.x\tools\java folder run
make clean
make
On 8/16/06, Firat TARAKTAS <
[EMAIL PROTECTED]> wrote:
Yes, i am using eclipse with TinyOs plug-in. First, we thougt that eclipse requires java 1.5 and tinyos requires 1.4. We uninstalled 1.5 and install eclipse and tinyos plugin. But it didn't run the example applications. When i deal more with it, i faced a getenv.dll error. Then to another computer, we installed tinyos directly from tinyos.net, but it didn't compile the files in tools/java/net/tinyos/sim directory.I almost searched every help-mail. But they did not get rid of my problem.___________________________________________________
Fırat TARAKTAŞGENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbulTel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07----- Original Message -----From: MINO GBTo: Firat TARAKTASSent: Wednesday, August 16, 2006 1:45 PMSubject: Re: [Tinyos-help] tinyViz running problemsDid you use TinyOsCygwinEnv in Eclipse? I installed tinyos directly from tinyos.net and used TinyOS Wrapper in Eclipse. TinyViz will run well. I tried run tinyViz with TinyOsCygwinEnv_1.0.0 and it cannot run.
On 8/16/06, Firat TARAKTAS <[EMAIL PROTECTED]> wrote:When i compile in sim directory, i've got errors:[EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/sim
$ make
... /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
javac *.java
ADCDataReadyEvent.java:9: cannot access net.tinyos.message.Message
bad class file: c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1
.x\tools\java\net\tinyos\message\Message.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
public class ADCDataReadyEvent extends net.tinyos.message.Message {
^
1 error
make[1]: *** [DebugMsgEvent.class] Error 1
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make: *** [msgs] Error 2___________________________________________________
Fırat TARAKTAŞGENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbulTel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07----- Original Message -----From: MINO GBSent: Wednesday, August 16, 2006 1:03 PMSubject: Re: [Tinyos-help] tinyViz running problemsI didn't install any driver to run tinyviz. I just install tinyos, compile java, and it run. The first time, I still got "connection to simulator failed" error and I found that my firewall (Zone Alarm) blocked it. When I set my firewall config, tinyviz run well.
On 8/16/06, Munaretto, Daniel < [EMAIL PROTECTED]> wrote:i think your problem is on the real file name. In the tutorial it's shown an old name, for example in my pc i call SimDriver to run tinyviz. Check your files, it's the only my own suggestion i can provide for you.
cheers
Daniele
-----Original Message-----
From: Firat TARAKTAS [mailto:[EMAIL PROTECTED]]
Sent: Wed 8/16/2006 11:17 AM
To: MINO GB
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] tinyViz running problems
Hi,
I see the tinyviz GUİ but, it gives "connection to simulator failed" error .
Thanks for your interest. I am studying on this error for two days. And now i got crazy.
___________________________________________________
Fırat TARAKTAŞ
GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.
Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbul
Tel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.genetlab.com
< http://www.genetlab.com/>
----- Original Message -----
From: MINO GB <mailto:[EMAIL PROTECTED]>
To: Firat TARAKTAS <mailto: [EMAIL PROTECTED]>
Cc: tinyos-help@millennium.berkeley.edu
Sent: Wednesday, August 16, 2006 10:01 AM
Subject: Re: [Tinyos-help] tinyViz running problems
What's error messages which you get in cygwin windows? I am using tinyViz Tool and it runs very well.
On 8/15/06, Firat TARAKTAS < [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]> > wrote:
Hi all,
I have a similar problem announced by Pagliari on 10 March. The last message indicates that there is a solution. Can you inform me about it please?
rom pagliari at dibe.unige.it Fri Mar 10 02:10:54 2006
From: pagliari at dibe.unige.it (Roberto)
Date: Fri Mar 10 02:11:22 2006
Subject: [Tinyos-help] tinyViz running problems
Message-ID: <[EMAIL PROTECTED] <http://> >
I'm starting now with tinyOS and tinyViz tools. I tried to run tinyViz,
as described in tinyos.net tutorial
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html <http://>
the windows of tinyViz is open after typing
export DBG=usr1
tinyviz -run build/pc/main.exe 30
in apps/TestTinyViz. But the simulation does not run. In I push on the
play button, selecting some plugins before, does not happens anytthing.
What is the reason ?
rom pagliari at dibe.unige.it Fri Mar 10 02:48:56 2006
From: pagliari at dibe.unige.it (Roberto)
Date: Fri Mar 10 02:49:17 2006
Subject: [Tinyos-help] tinyViz running problems
Message-ID: < [EMAIL PROTECTED] <http://> >
In this way tinyViz runs correctly! Thank you very much!!
___________________________________________________
Fırat TARAKTAŞ
GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.
Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbul
Tel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07
[EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]>
www.genetlab.com
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help