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.

New Project

How do I create a new project file?Some files don't see ,  Why might that be?

Error : "DSP2833x_GlobalVariableDefs.c", line 14: fatal error: could not open source file "DSP2833x_Device.h"
  • What kind of proyect? you have bios proyect and non-bios proyect. Read this DSP2833x_HeaderFiles_Quickstart_Readme.

    You have to go to proyect window select build option, in the compiler option  select advance, there you have to select "large memory model" and "unifed memory model" in floating point suport select fpu32. Then goto preprocessor there you have to add the path to the source that you are using.."haders" and "common".  Next go to linker option select library and there you have to add the path to the cmd you are using.

    Hope this help you.

  • instead of #include "DSP2833x_Device.h"

    copy the path of "DSP2833x_Device.h" and paste it in place of  #include"DSP2833x_Device.h"

    ( #include  "C:\<path>\DSP2833x_Device.h" )

     

  • Under the build options -> compiler -> preprocessor you can add the path to the include files.  It can be an absolute path, or it can be releative to the location of the file that is complaining.

  • I am having a similar problem. I get an error saying  "could not open source file "DSP2833x_Device.h". I have included a path to the file in the preprocessor section, and I have tried using the absolute path in the include statement and it still says it cant open the source file. Any ideas what may be wrong?  Thanks

     

     

  • If you are using some of the example projects that comes with several of the C2000 kits as your starting point, changing "DSP2833x_Device.h" to "PeripheralHeaderIncludes.h" should let this project compile.

    Thanks,
    Brett Larimore