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.

Compile Error

I am using following CCS version 6.1.0.00104.

When i rename the project name, i am getting compile error and also if i create a new project using old source code file i am getting same compile error. If i didn't do the rename of project file. it's working fine. In my project i used some "C Preprocessor statements". when i am compiling the project, this preprocessor statements are getting disabled. due to that i am getting compile error.

Please let me know the solution for this error. I am kindly waiting for your reply.

Regards,

Yuvaraj N

  • Hi,

    When i am rename the project name, project name is automatically adding in prifix of C Preprocessor statements. due to this i am getting compile error.
    Example :

    Project Name - 1003661_FW
    C Preprocessor Statement - #ifndef AE_I2C_H_
    #define AE_I2C_H_

    After Rename the project name

    Project Name - 1003661_FW_28_Dec_2015
    C Preprocessor Statement - #ifndef 1003661_FW_28_Dec_2015_AE_I2C_H_
    #define 1003661_FW_28_Dec_2015_AE_I2C_H_

    when i modified the preprocessors, it's compiling fine. I found the solution temporarily please give me a proper solution for this issue. I am kindly waiting for your reply.

    Regards,

    Yuvaraj N
  • Yuvaraj,

    Would it be possible to get an example project that shows the problem. Do you mean that predefined symbols are getting removed when you rename the project?

    Regards,
    John
  • Hello John,

    Thanks for your reply.

    Predefined symbols is not removed. only the project name is added in prefix as mentioned above.

    Previously i did rename so many times. that time and all i didn't get any problem. Previously whenever i am doing rename i will get notification like (If you do the Rename you may loss some data, whether you have to do rename or not ). But now i am not getting this notification.This is first time i am facing this problem.

    Temporary i am editing the code by removing the prefix name, whenever i am doing the rename of the project. but it is not proper way to solve this problem. 

    I have one more CCS Version: 6.0.0.00156. In this i created new project using same source file. here i am not getting any rename problem. but in this CCS i getting another problem. Actually i have to generate Output file format as TI-TXT. but in this CCS version i am not getting TI-TXT file. even though i select the corresponding output format in CCS setting, i am getting .hex file only. That is the reason i am working in above mentioned CCS version (6.1.0.00104)

    Please help me to clear this issue. I am kindly waiting for your reply.

    Regards,

    Yuvaraj N

  • I'm not sure I understand your problem.  You are saying that renaming the project causes source code to automatically change.  Moreover, it didn't always do that, but only started doing that lately.  Is this correct?  This is very odd.  To understand how this is happening, I'm sure we need an example project that allows us to reproduce the same behavior.

    Thanks and regards,

    -George