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.

Error when compiling in Release

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I have problems when compiling dsk_app in release mode.Here is the log:

[dsk_app.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -o3 -fr"C:/CCStudio_v3.3/boards/dsk6455_v2/examples/dsk_app/Release" -mv6400 -@"Release.lkf" "dsk_app.c"

"dsk_app.c", line 109: fatal error: could not open source file "dsk6455.h"
1 fatal error detected in the compilation of "dsk_app.c".
Compilation terminated.

>> Compilation failure

[dsk_appcfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -o3 -fr"C:/CCStudio_v3.3/boards/dsk6455_v2/examples/dsk_app/Release" -mv6400 -@"Release.lkf" "dsk_appcfg.s62"
"dsk_appcfg.s62", ERROR!   at line 365: [ ***** USER ERROR ***** - ]
         Project build options do not match Global configuration settings.
           Compiler options do not specify -mv64+, but configuration is for
           C64x+
                .emsg "Project build options do not match Global configuration settings.  Compiler options do not specify -mv64+, but configuration is for C64x+"

"dsk_appcfg.s62", ERROR!   at EOF: [E0300] The following symbols are undefined:
2 Assembly Errors, No Assembly Warnings
  HWI_INTRMULTLOW
  HWI_INTRMULTHIGH
  GBL_L2MARMASK1
  GBL_L2MARMASK2
  GBL_L2MARMASK3
  GBL_L2MARMASK4
  GBL_L2MARMASK5
  GBL_L2CONFIGALLOC
  GBL_L2ALLOC
  GBL_C641XL2PRIORITY

Errors in Source - Assembler Aborted

>> Compilation failure

Build Complete,
  3 Errors, 0 Warnings, 0 Remarks.

 

I didn't change anything in this example, what should I do fix these errors?

 

Thanks,

Pete.

  • Pete said:
    [dsk_app.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -o3 -fr"C:/CCStudio_v3.3/boards/dsk6455_v2/examples/dsk_app/Release" -mv6400 -@"Release.lkf" "dsk_app.c"

    Hi Pete,

    Make sure you change this from -mv6400 to -mv6400+. For whatever reason this project is using the wrong build option for a C64x+ target. You can change this by selecting Project->Build Options and selecting -mv6400+ from the Target dropdown. I believe this will get rid of the other build errors you see.