I am using polyspace-configure in combination with a Makefile to create a polyspace configuration for the TI ARM compiler as shown below:
polyspace-configure -prog myProject make -B targetName buildOptions
However, when I run this command, I see the following error message:
polyspace-configure: 7s: ERROR: All programs detected are unknown: there is no matching compiler configuration. Executed programs are: polyspace-configure: 7s: ERROR: armar /opt/ti/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armarpolyspace-configure: 7s: ERROR: armcl /opt/ti/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armclpolyspace-configure: 7s: ERROR: bash /bin/bash polyspace-configure: 7s: ERROR: build.sh /tmp/polyspace_configure_tmp-e3ba-d09c/build.shpolyspace-configure: 7s: ERROR: cmake /usr/local/bin/cmakepolyspace-configure: 7s: ERROR: make /usr/bin/make polyspace-configure: 7s: ERROR: sh /bin/bash polyspace-configure: 7s: ERROR: The following compilers are recognized by polyspace-configure (with path to associated configuration files):.....polyspace-configure: 7s: ERROR: No compilation unit detected in your build. Possible sources for this error are: - Your build command does not compile any C/C++ files. - Your compiler was not called. You must force a clean rebuild. - Your compiler is unknown to Polyspace. You must write a compiler configuration. - You use a compiler cache (such as ccache). You must deactivate it. - You use a distributed build system (such as distmake). You must deactivate it. - You use a -include-sources/-exclude-sources combination that filters out every source file. Consider setting -print-included-files and -print-excluded-files.polyspace-configure: 7s: ERROR: Fatal error
How can I work around this error to continue with code verification?
Best Answer