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.

errors .....

Other Parts Discussed in Thread: CCSTUDIO

Hi,

i am trying to create a new project

after creating the new project ,while building i am getting following errors

 

------------------------------  lab5.pjt - Debug  ------------------------------

[DefaultIsr_5.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "DefaultIsr_5.c"

"DefaultIsr_5.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "DefaultIsr_5.c".

Compilation terminated.

 

>> Compilation failure

 

[DSP2833x_GlobalVariableDefs.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "DSP2833x_GlobalVariableDefs.c"

"DSP2833x_GlobalVariableDefs.c", line 14: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "DSP2833x_GlobalVariableDefs.c".

Compilation terminated.

 

>> Compilation failure

 

[Gpio.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "Gpio.c"

"Gpio.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "Gpio.c".

Compilation terminated.

 

>> Compilation failure

 

[Main_5.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "Main_5.c"

"Main_5.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "Main_5.c".

Compilation terminated.

 

>> Compilation failure

 

[PieCtrl_5_6_7_8_9_10.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "PieCtrl_5_6_7_8_9_10.c"

"PieCtrl_5_6_7_8_9_10.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "PieCtrl_5_6_7_8_9_10.c".

Compilation terminated.

 

>> Compilation failure

 

[PieVect_5_6_7_8_9_10.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "PieVect_5_6_7_8_9_10.c"

"PieVect_5_6_7_8_9_10.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "PieVect_5_6_7_8_9_10.c".

Compilation terminated.

 

>> Compilation failure

 

[SysCtrl.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "SysCtrl.c"

"SysCtrl.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "SysCtrl.c".

Compilation terminated.

 

>> Compilation failure

 

[Watchdog.c] "C:\CCStudio_v3.3\c2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/practce tidcs/c28/DSP2833x/v110/My projects/Practicelab solutions/Debug" -i"../DSP2833x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "Watchdog.c"

"Watchdog.c", line 9: fatal error: could not open source file "DSP2833x_Device.h"

1 fatal error detected in the compilation of "Watchdog.c".

Compilation terminated.

 

>> Compilation failure

 

Build Complete,

  8 Errors, 0 Warnings, 0 Remarks.

  • In all of the errors above, the C2000 C compiler (ie. cl2000) can not find the stated header file DSP2833x_Device.h in the provide include path.

    The first thing I would suggest is for you to verify the path to the *.h files relative to your project directory.  Is "../DSP2833x_headers/include" correct?

  • BrandonAzbell said:

    In all of the errors above, the C2000 C compiler (ie. cl2000) can not find the stated header file DSP2833x_Device.h in the provide include path.

     

    Ok this statement is correct.As error clearly indicating that 

    BrandonAzbell said:

     

    The first thing I would suggest is for you to verify the path to the *.h files relative to your project directory.  Is "../DSP2833x_headers/include" correct?

    But  i am not understanding the above statement, where i can edit the verify path,i choose build options but i could not find it.

    can you please suggest me any reference guide for it ?

    I am facing these errors when i want to write a new project?

    please help me 

    Regards,

    Naveen Rangu

     

     

  • The build options for your project are setup to include the following path for the C compiler, "../DSP2833x_headers/include".  I guess my question is more basic and isn't necessarily related to the IDE you are using.  If you use Windows Explorer, or whatever tool you use to find directories on your own computer, does this directory exist and does it contain the DSP2833x_Device.h file?

    If not, then you need to modify the build option for the C Compiler include path to actually point to the directory where this header file actually resides.