The header is the one you can find svn repository. It is not modified. Yesterday i also tries to create the class for the default oscilloscope application. The same error occurs there, too.
Quoting 崔晓宗 <[email protected]>: > Maybe there was somthing wrong with your tymo/mh/mhpacket.h file. Is the > struct named "mhpacket_t"? Or you should give us the code in your head file. > > 2010/12/14 <[email protected]> > >> I'm trying to generate classes from the header files delivered by tymo. >> By calling: >> mig python -target=mica2 -python-class-name MHPacket >> tymo/mh/mhpacket.h mhpacket_t -o MHPacketHeader.py >> >> i get the error: >> error: tag mhpacket_t not found >> failed to parse message file tymo/mh/mhpacket.h >> >> I also tried mhpacket_header_t and removing the 'other' struct from >> header file but the error still occurs. >> Can somebody tell me what i'm doing wrong or what i have to do instead? >> >> Best regards, >> Enrico >> >> >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Regards, > Xiaozong Cui > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
