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.

A file does not exist

Hello.

I am working with a program called 'ecsgen.c', using a cryptographic library, Miracl. After Debugging the project, appears the next error: 

"file common.ecs does not exist"

Previously I had added the file: common.ecs to the project by using the command: Add Files...

How can I solve this error?.

Thanks.

Mario.

  • Hi Mario Pinto,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    I recommend you to provide the full details of your query to get a qualified answer.

    I mean to say, your query doesnot contain informations like what is the TI device/processor you are using?, name of the TI sofware package you are using ?or Are you using any TI libraries? What is the compiler you use and its version; Where does the ecsgen.c file comes from? Is it a source code developed by your own or part of software package supplied by TI? If it is your own code, nobody else can be aware of your code otherthan you. If it is supplied by TI, please specify the package/library name and it's version.

    From your post, all I can understand is you might have got a compilation error and in your compiler settings, one of the options is "Add Files".Is that so?.... What do you mean "Previously added" ?   And also you mentioned that you are debugging the project; which means were you able to build your project successfully without any errors? Does your project is looking for any data file named "common.ecs"? Though you have not stated your problem clearly, but still, If you were able to add the common.ecs file earlier then why not now?

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hello I am working with the DSP C6713, using Code Composer Studio V. 5.2.1. The library that I am using, is called Miracl. The file ecsgen.c is included with the library Miracl.

    I solved the problem by including as argument of fopen the path to the fle common.ecs.

    Instead of:

    fp=fopen("common.ecs","rt");

    I used:

    fp=fopen("c:\\common.ecs","rt");

    and I copied and pasted the file common.ecs to the C harddisk. 

    Thanks.