I have following configuration:
Code: Select all
Windows 7, 64 bit
Codelite 7.0 64 Bit (installed from codelite-amd64-7.0.exe)
installation dir: C:\Program Files\CodeLite ( I now added this to the PATH-environment-variable aswell)
In Codelite these are the Environment Variables:
CodeLiteDir="C:\Program Files\CodeLite"
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
WXWIN=c:\wxWidgets-3.0.2
WXCFG=gcc_dll\mswu
In the CppCheck-Tab I get following output:
Code: Select all
Starting cppcheck: "C:\Program Files\CodeLite\codelite_cppcheck.exe" --enable=style --enable=performance --enable=portability --enable=unusedFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force -j100 -IC:\cpp_projects\proc_space\game -IC:\cpp_projects\proc_space\game_libraries --suppress=missingIncludeSystem --template gcc -I\cpp_projects\proc_space\game\ -I\cpp_projects\proc_space\game\ -I\dev_libs_cpp\SFML-2.2\include\ -I\cpp_projects\proc_space\game_libraries\ --file-list="C:\cpp_projects\proc_space\.codelite\cppcheck.list"
:: information: Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled with CFGDIR set to "config/cppcheck" and will therefore search for std.cfg in that path.
cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.
===== cppcheck analysis ended. Found 0 possible errors=====
Code: Select all
C:\cpp_projects\proc_space\game>"C:\Program Files\CodeLite\codelite_cppcheck.exe" --enable=style --enable=performance --enable=portability --enabl
e=unusedFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force -j100--check-config --suppress=missingIn
cludeSystem --template gcc -I\cpp_projects\proc_space\game\ -I\cpp_projects\proc_space\game\ -I\dev_libs_cpp\SFML-2.2\include\ -I\cpp_projects\proc_s
pace\game_libraries\ --file-list="C:\cpp_projects\proc_space\.codelite\cppcheck.list"
cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.
:: information: Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled with CFGDIR set to "
config/cppcheck" and will therefore search for std.cfg in that path.
C:\cpp_projects\proc_space\game>
When I run the same command in the Codelite folder I get following message:
Code: Select all
C:\Program Files\CodeLite>"C:\Program Files\CodeLite\codelite_cppcheck.exe" --enable=style --enable=performance --enable=portability --enable=unus
edFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force -j100 -IC:\cpp_projects\proc_space\game -IC:\cp
p_projects\proc_space\game_libraries --suppress=missingIncludeSystem --template gcc -I\cpp_projects\proc_space\game\ -I\cpp_projects\proc_space\game\
-I\dev_libs_cpp\SFML-2.2\include\ -I\cpp_projects\proc_space\game_libraries\ --file-list="C:\cpp_projects\proc_space\.codelite\cppcheck.list"
cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.
Checking C:\cpp_projects\proc_space\game\Game.cpp...
Checking C:\cpp_projects\proc_space\game\main.cpp...
#### .
ThreadExecutor::check wait failed, result: 4294967295 error: 87
C:\Program Files\CodeLite>
The cppcheck.list file contains following lines:
Code: Select all
C:\cpp_projects\proc_space\game\main.cpp
C:\cpp_projects\proc_space\game\Game.cpp
When I right click on a project in my workspace inside codelite and choose the cppcheck I get following message:
Code: Select all
Starting cppcheck: C:\CodeLite\codelite_cppcheck.exe --enable=style --enable=performance --enable=portability --enable=unusedFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force -j100 -IC:\cpp_projects\proc_space\game -IC:\cpp_projects\proc_space\game_libraries --suppress=missingIncludeSystem --template gcc -I\cpp_projects\proc_space\game\ -I\cpp_projects\proc_space\game\ -I\dev_libs_cpp\SFML-2.2\include\ -I\cpp_projects\proc_space\game_libraries\ --file-list="C:\cpp_projects\proc_space\.codelite\cppcheck.list"
:: information: Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled with CFGDIR set to "config/cppcheck" and will therefore search for std.cfg in that path.
cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.
===== cppcheck analysis ended. Found 0 possible errors=====
Have you encountered this kind of issue before?
How did you solve it?
Could it be again a silly mistake I made?
Thanks for your help!