Hi Dears i use eclipse 3.2.2 on vista os and i have compiled and used ptolemy (visualsense) for my simulations. Now i want to compile and run viptos. i compiled it and i can run the viptos. i can load the demostration demos. but i have problem in running these demos. when i run the viptos i see an error message as below:
;------------------------------------------------------------------------- ------------------ ptolemy.kernel.util.IllegalActionException: Running "make -C c:/ptII6.0.2/ptolemy/domains/ptinyos/demo/SenseToLeds/output -f _SenseToLeds_InWireless_MicaBoard_MicaCompositeActor0.mk ptII" returned '2', which is a nonzero value, which indicates an error. Output: make: Entering directory `c:/ptII6.0.2/ptolemy/domains/ptinyos/demo/SenseToLeds/output' make: Leaving directory `c:/ptII6.0.2/ptolemy/domains/ptinyos/demo/SenseToLeds/output' Error: c:/ptII6.0.2/vendors/ptinyos/tinyos-1.x/tools/make/Makerules:162: *** Usage: make <target> <extras> make <target> help Valid targets: Valid extras: Welcome to the TinyOS make system! You must specify one of the valid targets and possibly some combination of the extra options. Many targets have custom extras and extended help, so be sure to try "make <target> help" to learn of all the available features. Global extras: docs : compile additional nescdoc documentation tinysec : compile with TinySec secure communication ERROR, "ptII ident_flags tos_image bnp" does not specify a valid target. Stop. at ptolemy.domains.ptinyos.kernel.PtinyOSDirector._compile (PtinyOSDirector.java:1363) at ptolemy.domains.ptinyos.kernel.PtinyOSDirector.preinitialize (PtinyOSDirector.java:711) at ptolemy.actor.CompositeActor.preinitialize (CompositeActor.java:1017) at ptolemy.actor.Director.preinitialize(Director.java:830) at ptolemy.domains.de.kernel.DEDirector.preinitialize (DEDirector.java:1013) at ptolemy.actor.CompositeActor.preinitialize (CompositeActor.java:1017) at ptolemy.actor.Director.preinitialize(Director.java:830) at ptolemy.domains.de.kernel.DEDirector.preinitialize (DEDirector.java:1013) at ptolemy.actor.CompositeActor.preinitialize (CompositeActor.java:1017) at ptolemy.actor.Manager.preinitializeAndResolveTypes (Manager.java:886) at ptolemy.actor.Manager.initialize(Manager.java:572) at ptolemy.actor.Manager.execute(Manager.java:320) at ptolemy.actor.Manager.run(Manager.java:1044) at ptolemy.actor.Manager$3.run(Manager.java:1085) ;------------------------------------------------------------------------- ---------------------- when i set the target in ptinyos director to pc and i wnt to the folder c:/ptII6.0.2/ptolemy/domains/ptinyos/demo/SenseToLeds/output i don't have any make file or build directory to run tossim regards ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]