I am using cppcheclipse on Code Composer Studio v12.0. It is an eclipse-based IDE by TI.
It is installed successfully and cppcheck can be started. But there is an error which says
"Could not initialize cppcheck.
Could not initialize cppcheck for project .
Content is not allowed in prolog.
"
And after checking Window->Preferences->cppcheclipse -> problem, there is nothing there.
Both Java and CDT are installed.
From TI's response to this question, they don't think there is anything that could prevent cppcheclipse running properly. What might be missing in this case?
Thanks for your help!
Crane
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use version 2.9.
Later versions of cppcheck write illegal XML output, which breaks the Eclipse integration:
"cppcheck: Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this."
Last edit: Thomas Arnbjerg 2023-12-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using cppcheclipse on Code Composer Studio v12.0. It is an eclipse-based IDE by TI.
It is installed successfully and cppcheck can be started. But there is an error which says
"Could not initialize cppcheck.
Could not initialize cppcheck for project .
Content is not allowed in prolog.
"
And after checking Window->Preferences->cppcheclipse -> problem, there is nothing there.
Both Java and CDT are installed.
From TI's response to this question, they don't think there is anything that could prevent cppcheclipse running properly. What might be missing in this case?
Thanks for your help!
Crane
hmm I have no idea :-(
This plugin is not actively maintained unfortunately. And sometimes it doesn't work well.
I hope we can start maintaining it in the premium company, but at the moment we don't have the resources.
You should still be able to configure Cppcheck as an external tool.
Ok got it. Thank Daniel!
Use version 2.9.
Later versions of cppcheck write illegal XML output, which breaks the Eclipse integration:
"cppcheck: Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this."
Last edit: Thomas Arnbjerg 2023-12-22