Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

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
Note: External build specifications aren't supported in Klocwork Desktop Java Plug-in for IntelliJ IDEA. If you're an IDEA user and you've verified that you're connected to the correct project and you're still seeing the "Cannot perform project synchronization" message, contact your Klocwork administrator.

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:

Next step:

  1. Right-click the solution in the Solution Explorer > Klocwork solution properties .
  2. Browse to the location of your build specification (.out) file and clicking Open.
Note: 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:

Next step: Specify these external build settings in Eclipse:

  1. Right-click the project in the Project Explorer and, from the pop-up menu, choose Properties.
  2. 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.