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.

Cannot find stdio.h

Other Parts Discussed in Thread: CCSTUDIO

I am using CCS v3.3.81.11 and I am trying to build the omapl137-flash-boot-utils NOR_writer for the ARM.  When I load the .pjt file, I get an error message saying "stdio.h" cannot be found.  Anyone have a clue as to what's wrong or where to start looking?

Thanks,
Chris 

  • Hi Chris,

    If you are using the compiler version that comes with CCS, stdio.h is located in C:\CCStudio_v3.3\tms470\cgtools\include. But if you are getting an error on project open, it sounds like the stdio.h file has actually been explicitly added to the project (It should show up in the project window) and then the location of the file has changed. Is that the case?

    Thanks,

    Ki

  • Hi Ki,

    I don't seem to see it in the Includes directory of the project, nor mentioned in Build Options, but I'm relatively new to CCS, so maybe I'm missing something.  It's not in the .pjt file when viewed in a text editor.

    Thanks,
    Chris 

  • I'm not sure why it would be looking for that on a project open. Could you attach the pjt file you are using?

    Thanks

    ki

  • Sorry it took so long to get back.  Here's the pjt file....

    ; Code Composer Project File, Version 2.0 (do not modify or remove this line)
    
    [Project Settings]
    ProjectDir="U:\GForge\cat_flashutils\trunk\OMAP-L137\CCS\NORWriter\"
    ProjectType=Executable
    CPUFamily=TMS470R2x
    Tool="Compiler"
    Tool="CustomBuilder"
    Tool="Linker"
    Tool="XDC"
    Config="Debug"
    Config="Release"
    
    [Source Files]
    Source="..\..\..\Common\ccs\src\debug.c"
    Source="..\..\..\Common\drivers\src\async_mem.c"
    Source="..\..\..\Common\drivers\src\nor.c"
    Source="..\..\..\Common\src\util.c"
    Source="..\..\Common\src\device.c"
    Source="..\..\Common\src\device_async_mem.c"
    Source="src\norwriter.c"
    Source="NORWriter_ARM.cmd"
    
    ["Compiler" Settings: "Debug"]
    Options=-g -fr"$(Proj_dir)\Debug" -i"$(Proj_dir)\include" -i"$(Proj_dir)\..\..\Common\include" -i"$(Proj_dir)\..\..\..\Common\include" -i"$(Proj_dir)\..\..\..\Common\ccs\include" -i"$(Proj_dir)\..\..\..\Common\drivers\include" -d"_DEBUG" -d"SKIP_LOW_LEVEL_INIT" -me -mv5e --abi=eabi
    
    ["Compiler" Settings: "Release"]
    Options=-o3 -fr"$(Proj_dir)\Release" -i"$(Proj_dir)\include" -i"$(Proj_dir)\..\..\Common\include" -i"$(Proj_dir)\..\..\..\Common\include" -i"$(Proj_dir)\..\..\..\Common\ccs\include" -i"$(Proj_dir)\..\..\..\Common\drivers\include" -d"SKIP_LOW_LEVEL_INIT" -mv5e --abi=eabi
    
    ["Linker" Settings: "Debug"]
    Options=--abi=eabi -cr -m".\Debug\NORWriter_ARM.map" -o".\Debug\NORWriter_ARM.out" -w -x
    
    ["Linker" Settings: "Release"]
    Options=--abi=eabi -cr -m".\Release\NORWriter_ARM.map" -o".\Release\NORWriter_ARM.out" -w -x
    
    ["NORWriter_ARM.cmd" Settings: "Debug"]
    LinkOrder=1
    
    ["NORWriter_ARM.cmd" Settings: "Release"]
    LinkOrder=1
    
    

    The name has been changed to protect the innocent, as well as circumvent TI's ridiculous filename filter.  It's really the pjt file renamed as txt.

    Thanks,

    Chris