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.

file not found error

Other Parts Discussed in Thread: CCSTUDIO

Hi all,

  I am using CCStudio v3.3, the problem i am facing is when i create a project and build it,

it gives me the message

------------------------------  new.pjt - Debug  ------------------------------
[csl_lcdc_DiagramExample.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -pdsw225 -fr"C:/Users/Silicon Technologies/Desktop/C5505_CSL_Rel_1.1/VC5505_CSL/example/Practice/Debug" -i"C:/Users/Silicon Technologies/Desktop/C5505_CSL_Rel_1.1/VC5505_CSL/example/Practice" -d"_DEBUG" -@"Debug.lkf" "csl_lcdc_DiagramExample.c"
"csl_lcdc_DiagramExample.c", line 164: warning: function declared implicitly

[lcdc_panel.c] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -g -pdsw225 -fr"C:/Users/Silicon Technologies/Desktop/C5505_CSL_Rel_1.1/VC5505_CSL/example/Practice/Debug" -i"C:/Users/Silicon Technologies/Desktop/C5505_CSL_Rel_1.1/VC5505_CSL/example/Practice" -d"_DEBUG" -@"Debug.lkf" "lcdc_panel.c"

[Linking...] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -@"Debug.lkf"
<Linking>
>>   error: linking files with incompatible targets (library 'C:\\Users\\Silicon
            Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib', member 'csl_lcdc.obj')

>> csl_lcdc.obj (C:\\Users\\Silicon Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib):   error:
               csl_lcdc.obj (C:\\Users\\Silicon
               Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib) is large model, but boot.obj (C:/CCStudio_v3.3/C5500/cgtools/lib/rts55.lib) is small model


>> Compilation failure

Build Complete,
  3 Errors, 1 Warnings, 0 Remarks

Where may be the problem.

 

Regards

FAYAZ KHAN

 

  • Fayaz Khan,

    MUHAMMAD FAYAZ KHAN said:

    "csl_lcdc_DiagramExample.c", line 164: warning: function declared implicitly

    Make sure you are properly including all header files in your C source files. Although this is a warning, it usually causes trouble in the long run. 

    MUHAMMAD FAYAZ KHAN said:

    >>   error: linking files with incompatible targets (library 'C:\\Users\\Silicon

                Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib', member 'csl_lcdc.obj')

    >> csl_lcdc.obj (C:\\Users\\Silicon Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib):   error:
                   csl_lcdc.obj (C:\\Users\\Silicon
                   Technologies\\Desktop\\C5505_CSL_Rel_1.1\\VC5505_CSL\\build\\Debug\\cslVC5505_Lib.lib) is large model, but boot.obj (C:/CCStudio_v3.3/C5500/cgtools/lib/rts55.lib) is small model

     

    This other issue is caused by the incompatible memory models used to build the library <cslVC5505_Lib.lib> and <rts55.lib>. You should be using the large memory model (option -ml) and the library <rts55x.lib>.

    For details, please check sections 6.1.2 and 7.1 of the C55x Compiler User's Guide (SPRU281)

    Hope this helps,

    Rafael