Everything is going fine but when i run the "example_1.c"
i get the following response:
----------------------------------------------------------------------
Debug build of project `C:\Users\Kamal's\Desktop\from Project room\New folder\PicRtos\Code\Example_1.mcp' started.
Language tool versions: pic30-as.exe v3.25, pic30-gcc.exe v3.25, pic30-ld.exe v3.25, pic30-ar.exe v3.25
Preprocessor symbol `__DEBUG' is defined.
Sun May 29 16:40:01 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\PicRtos\Code\Object\multitask.o".
Clean: Deleted file "C:\Users\Kamal's\Desktop\from Project room\New folder\PicRtos\Code\Example_1.mcs".
Clean: Done.
Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F6011A -c -I"C:\Microchip\MPLAB C30\support\h" -I"C:\Microchip\MPLAB C30\include" -I"C:\PicRtos\Code\Include" -D__DEBUG "multitask.s" -o"C:\PicRtos\Code\Object\multitask.o" -Wa,-I"C:\Microchip\MPLAB C30\support\inc",--defsym=__DEBUG=1,-g
Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F6011A -x c -c "Example_1.c" -o"C:\PicRtos\Code\Object\Example_1.o" -I"C:\Microchip\MPLAB C30\support\h" -I"C:\Microchip\MPLAB C30\include" -I"C:\PicRtos\Code\Include" -D__DEBUG -g -Wall
Example_1.c:11:24: error: multitask.h: No such file or directory
Example_1.c:22: error: syntax error before 'UsedStack'
Example_1.c:22: warning: type defaults to 'int' in declaration of 'UsedStack'
Example_1.c:22: warning: data definition has no type or storage class
Example_1.c:36: error: syntax error before 'delay'
Example_1.c:40: error: syntax error before 'var0'
Example_1.c:40: warning: type defaults to 'int' in declaration of 'var0'
Example_1.c:40: warning: data definition has no type or storage class
Example_1.c:41: error: syntax error before 'var1'
Example_1.c:41: warning: type defaults to 'int' in declaration of 'var1'
Example_1.c:41: warning: data definition has no type or storage class
Example_1.c:42: error: syntax error before 'var2'
Example_1.c:42: warning: type defaults to 'int' in declaration of 'var2'
Example_1.c:42: warning: data definition has no type or storage class
Example_1.c:43: error: syntax error before 'var3'
Example_1.c:43: warning: type defaults to 'int' in declaration of 'var3'
Example_1.c:43: warning: data definition has no type or storage class
Example_1.c:44: error: syntax error before 'var4'
Example_1.c:44: warning: type defaults to 'int' in declaration of 'var4'
Example_1.c:44: warning: data definition has no type or storage class
Example_1.c: In function 'main':
Example_1.c:52: warning: implicit declaration of function 'CreateTask'
Example_1.c:59: warning: implicit declaration of function 'TraceStack'
Example_1.c:60: warning: implicit declaration of function 'TraceTask'
Example_1.c:67: warning: implicit declaration of function 'Multitask'
Example_1.c:67: error: 'TMR_PERIOD' undeclared (first use in this function)
Example_1.c:67: error: (Each undeclared identifier is reported only once
Example_1.c:67: error: for each function it appears in.)
Example_1.c:67: error: 'TIME_SLICE' undeclared (first use in this function)
Example_1.c: In function 'task_1':
Example_1.c:89: warning: implicit declaration of function 'TaskSleep'
Example_1.c: At top level:
Example_1.c:129: error: syntax error before 'delay'
Example_1.c: In function 'Delay':
Example_1.c:131: error: 'uint16_t' undeclared (first use in this function)
Example_1.c:131: error: syntax error before 'timer'
Example_1.c:133: error: 'delay' undeclared (first use in this function)
Example_1.c:135: error: 'timer' undeclared (first use in this function)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\Users\Kamal's\Desktop\from Project room\New folder\PicRtos\Code\Example_1.mcp' failed.
Language tool versions: pic30-as.exe v3.25, pic30-gcc.exe v3.25, pic30-ld.exe v3.25, pic30-ar.exe v3.25
Preprocessor symbol `__DEBUG' is defined.
Sun May 29 16:40:06 2011
----------------------------------------------------------------------
BUILD FAILED
please tell me what's wrong??
P.S: Infact i have just checked, all these examples are having similar errors