Other Parts Discussed in Thread: C2000WARE, CCSTUDIO
Tool/software:
I keep having this error in my code when building the project, even when I nearly delete everything
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.
Hi Ki,
The original code is as attached, as well as the whole project
Winnie
// Included Files
//
#include "DSP28x_Project.h" // Device Headerfile and Examples Include File
#include "string.h"
void main(void)
{}
Hi Ki,
My workspace is as shown in the attached picture. The very first project I sent to you is my only project, I am just start CCS. I find the error, then I build few empty project with Main C, the error still there
Thanks
Winnie
Can you try one last thing?
Open a DOS command window.
Browse to <CCS12 INSTALL DIR>\ccs\eclipse
Run:
> eclipsec -noSplash -data <WORKSPACE PATH> -application com.ti.ccstudio.apps.projectBuild -ccs.projects Example_2806xEPwmUpDownAQ -ccs.buildType full
Provide all the output that appears. Maybe stream output to a file like:
> eclipsec -noSplash -data <WORKSPACE PATH> -application com.ti.ccstudio.apps.projectBuild -ccs.projects Example_2806xEPwmUpDownAQ -ccs.buildType full > build.txt
Then attach the build.txt to this thread.
Thanks
ki
Hi Ki,
As you can see from the below attachment we can run the eclipsec file through the command prompt but when i run the the rest of the statement, we get "The system cannot find the file specified"
Can you please advise.
Thanks
Winnie
Apologies, we didnt reference the workspace path correctly, attached is build.txt as requested
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Mon Jan 27 15:01:54 GMT 2025]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
!WARNING: Project 'Example_2806xEPwmUpDownAQ' was not found in the workspace! Ignoring...
NOTE: use the '-ccs.autoImport' argument to automatically import projects found in the workspace root directory.
================================================================================
Building...
================================================================================
CCS headless build complete! 0 out of 0 projects have errors.
Apologies, we didnt reference the workspace path correctly
Did you use the workspace location that the project is already in? It should be the same exact workspace folder used by CCS in your screenshots.
Thanks
ki
The error is still there when I trying to build project under any of them
I assume the same build error but from the command-line.
Can you send me the complete build output?
Also sen me the complete build output in the build output window. Copy and past all the text to a text file and attach to this thread. I would like to see how the compiler is called.
Thanks
ki
**** Build of configuration Debug for project Example_2806xEPwmUpDownAQ ****
"C:\\ti\\ccs1281\\ccs\\utils\\bin\\gmake" -k all
Building file: "../test.c"
Invoking: C2000 Compiler
"C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/ti/C2000Ware_5_03_00_00/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_5_03_00_00/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_5_03_00_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_5_03_00_00/libraries/math/FPUfastRTS/c28/include" --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet --preproc_with_compile --preproc_dependency="test.d_raw" "../test.c"
>> Compilation failure
subdir_rules.mk:72: recipe for target 'test.obj' failed
"../test.c", line 1: warning: last line of file ends without a newline
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: expected a declaration
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: extra text after expected end of number
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: extra text after expected end of number
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: error: unrecognized token
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
"../test.c", line 1: warning: null (zero) character in string or character
constant
Ú_ 3Íš¼[l¿ª3vfºf~¬ÁÀDZ¡Ÿ2]a)+:"ËÑÎI?Ò£ÕÙçq—Ô;6ÚyÒó’o¸ƒ¹ÖZµ&ï !æéS!0Œ¸›ÌnÂ2ÇÍd‰ ³«+tá9×û"o
^
14 errors detected in the compilation of "../test.c".
gmake: *** [test.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
I was discussing with our compiler expert and he recalled one issue where a certain DLL was causing the compiler to behave strangely. The DLL was "C:\windows\LVUAAgentInstBaseRoot\system32\MozartBreathCore.dll". Apparently it was related to some antivirus/security software on the PC with the compiler issue. I'm not sure if it is related to you issue but I wanted to ask just in case?
Hi Ki,
The IT team helped me check it, but we could not confirm the issue. However, he agreed with you that it might be caused by the security software. Unfortunately, it cannot be removed, or the system will crash.
I really appreciate all your help. You can close this topic if you want. I will need to buy another laptop myself—it seems to be the only way.
Thanks,
Winnie