Recreate your build specification
You may see the "no common files" error because your build settings don't match the server project. Perhaps you have a file on your desktop that doesn't exist in the server build.
You can capture your build settings again and see if that does the trick. How you do this varies according to your tool. See below for instructions on capturing your build settings for the following environments:
- Visual Studio
- Eclipse
- Klocwork Desktop
- kwcheck
Visual Studio build specification
If you build outside Visual Studio, then you have to capture your build settings manually and then re-capture the settings each time you add or remove a file or change your compile flag.
Re-create your build specification using kwinject. For step-by-step instructions, see
Next step:
- Right-click the solution in the Solution Explorer > Klocwork solution properties .
- Browse to the location of your build specification (.out) file and clicking Open.
For solutions containing both C/C++ and C# projects, you will need to import each build specification using a separate field. Import one build specification in the C/C++ projects taband one in the C# projects tab of the dialog.
The file mapping problem should be resolved.
Eclipse build specification
If you build outside Eclipse (and for C/C++ projects, you're not using CDT), you need to re-capture your build settings each time you add or remove a file or change your compile flag.
Re-create your build specification using:
- kwant for a Java project. For step-by-step instructions, see Creating a Java build specification.
- kwinject for a C/C++ project. For step-by-step instructions, see Creating a C/C++ build specification.
Next step: Specify these external build settings in Eclipse:
- Right-click the project in the Project Explorer and, from the pop-up menu, choose Properties.
- Click OK to close the dialog.
The file mapping problem should be resolved.
Klocwork Desktop for C/C++ (or kwcheck) with kwshell
If you're using kwshell to capture your build settings, perform another build, for example make.
The file mapping problem should be resolved.