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.

Code Composer 4.2.4 - could not open source file "std.h" error

Hi all,

I imported a non-BIOS application from CCSv3.3 to CCSv4. Because the application is non-BIOS, there is no option to choose DSP/BIOS version for the project during the import.

Build configuration options for the non-BIOS project doesn't provide an option of choosing appropriate BIOS version.

To solve this I installed  the version of CCS3.3 BIOS bios_5_31_08 into CCSv4 directory and added it to Window-> Preferences->CCS-> RTSC and Products. 

In addition I configured Environment Variable windows option: BIOS_INSTALL_DIR to point to bios_5_31_08 location : I tried both CCSv3.3 directory and CCSv4 directory.

The problem is that building a project drops an error that it cannot locate "std.h". Simple way to solve it is to include the appropriate directory manually, but does the CCSv4 determine the appropriate include directory for basic BIOS sources and headers automatically ? It looks like it cannot locate the bios directory in a right way.

We are going to work on both CCS3.3 and CCSv4 environments, so Environment Variable BIOS_INSTALL_DIR need to be configured to bios_5_31_08 directory anywat.

Is there any way to solve this problem?

Thank you.

Anatoly.

  • Hi Anatoly,

    Anatoly Odler said:
    I imported a non-BIOS application from CCSv3.3 to CCSv4. Because the application is non-BIOS, there is no option to choose DSP/BIOS version for the project during the import.

    Anatoly Odler said:
    The problem is that building a project drops an error that it cannot locate "std.h". Simple way to solve it is to include the appropriate directory manually, but does the CCSv4 determine the appropriate include directory for basic BIOS sources and headers automatically ? It looks like it cannot locate the bios directory in a right way.

    That is because when the v4 project was created, it was not created as an official BIOS project. If it is created as a BIOS project, the BIOS include paths are automatically added to the list of compiler include search paths.

    Thanks

    ki

  • Thank you for the answer.

    But the question was : is there a way to configure CCSv4 to include appropriate BIOS sources for non-BIOS projects?

    Anatoly.

  • I have installed and configured  bios 5.41.10.36 for CCSv3.3 and re-built the non-BIOS project.

    I have re-imported this project to CCSv4 ( the older imported project was deleted in CCSv4) but it still drops the error that it can't locate "std.h"

    How can I solve it?

  • Anatoly Odler said:
    I have installed and configured  bios 5.41.10.36 for CCSv3.3 and re-built the non-BIOS project.

    It does not matter if CCSv3.3 has that version of BIOS installed or not. The pjt itself needs to be using BIOS (has a tcf file, etc)

     

     

  • So how I configure CCSv4 to include "std.h" to non-BIOS imported projects?

     

  • As you mentioned earlier, just add the path to the BIOS header files to the list of  header file search paths in the build properties.