I have installed the CSS v5. But when I wrote a program....and run...I got an error... TI.out file not created...
So how to Solve the problem......It is very important....and emergency..please
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have installed the CSS v5. But when I wrote a program....and run...I got an error... TI.out file not created...
So how to Solve the problem......It is very important....and emergency..please
My program is as follows:
#include<msp430g2553.h>
unsigned int i;
void main(void)
{
WDTCTL = WDTPW + WDTHOLD;
P1DIR |= 0x41;
while(1)
{
P1OUT ^= 0x40;
for(i=0; i<20000 ;++i);
}
}
The error massage is as follows:
(1) Problems :
Description Resource Path Location Type
#10010 errors encountered during linking; "TI.out" not built TI C/C++ Problem
Description Resource Path Location Type
#10056 symbol "i" redefined: first defined in "./sbcr.obj"; redefined in "./main.obj" TI C/C++ Problem
Description Resource Path Location Type
#10056 symbol "main" redefined: first defined in "./sbcr.obj"; redefined in "./main.obj" TI C/C++ Problem
(1) After Building :
The system cannot find the path specified.
gmake: *** [main.obj] Error 1
gmake: Target `all' not remade because of errors.
Shekhar Banerjee said:#10056 symbol "main" redefined: first defined in "./sbcr.obj"; redefined in "./main.obj"
Please read that error message carefully. It is telling you that you have two "main" functions in your project. You need to remove one of those files from your project.
Thank you very much..
I did not understand the error properly.....
Then i went to the folder and discovered it.......
Thank you thank you......