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.

Missing source file name

Hi,

I imported a CCSv4 project into CCSv4 environment on another PC and everything is going fine except the following error:

"missing source file name"

"1 fatal error detected in compilation"

"Compilation terminated"

which happens when compiling files xxx.s62 and xxxcfg_c.c (autogenerated by CCS during build process).

One way to make the build process succesfull (referring to a previous post on the subject) is to copy files xxx.s62 , xxxcfg_c.c, xxx.h32 and xxxcfg.h from src/Debug (where they are created) to src/ directory. However this means that each compilation process has to be run twice: once to generated the files, and once to actually use them after copy.

What is strange is that this behavior doesn't exist on the original project (before importing it).

Any idea to solve this issue?

Thanks,

Pierre-Yves

 

  • That's odd. The default directory is src/Debug. That should be fine. Could you provide the project you are importing?

    Thanks

    ki

  • Hi !

     

    5444.TGAGARIN_CCSv4.zip

    I attached the project (actualy named TGAGARIN_CCSv4 insatead of src).

     

    Regards,

     

    Pierre-Yves

  • Thank you for the zip.

    I was able to import the project and build. I did get some build errors but that is because I am missing the PSP files. However the generated BIOS source files were being found correctly (in the ./Debug folder) and built successfully. What version of CCSv4 are you using (full build number)?

    Thanks

    ki

  • I was using 4.0.1.xxxx then I downloaded the latest one 4.1.3.00038 and I still have the problem. I am suspecting a problem with different workspace names between the projects or some probleme when checking the box "copy files to workspace" before importing the project (if I don't check the box , an error will occur!). Another thing is that the source PC is running with Win XP SP2 and the target PC has Win XP SP3. Could it make the difference?

     

    Pierre-Yves

     

     

  • PY said:
    I am suspecting a problem with different workspace names between the projects or some probleme when checking the box "copy files to workspace" before importing the project (if I don't check the box , an error will occur!)

    What is the error that is occurring? I leave the box unchecked and it imports fine.

    PY said:
    Another thing is that the source PC is running with Win XP SP2 and the target PC has Win XP SP3. Could it make the difference?

    That should have no impact

  • I'm getting confused. After a new attempt we imported the project without problem, however the issue with files (.s62, etc) remains.

    Moreover, we made the same  on another PC and everything is going fine.

    What could make that the behaviour differs from one PC to another, wtih the same CCSv4 version and the same project?

     

    Pierre-Yves

  • PY said:
    What could make that the behaviour differs from one PC to another, wtih the same CCSv4 version and the same project?

    This is very odd. The only thing I can think of is to try a new clean workspace for the CCSv4 install that is having the problem.

  • Even with a clean workspace the problem remains.

    I figured out that on the "failling" PC I have installed in parallel:

    CCS v3.3

    CCSv4.0

    CCSv4.1.3

     

    Could it explain the problem? Is there anything I can do ? (I would prefer not to uninstall CCSv3 as we use it for other projects.)

     

    Regards,

     

    Pierre-Yves

     

  • It happened to me when I updated. Now programs that once ran don't work.