Post

1 follower Follow
0

CPP analysis error : "Some paths could not be substituted"

We might get following error while running the CPP analysis.

Some paths could not be substituted: `$(WINREGISTRY,"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\Microsoft Visual C++\ProductDir")\MFC\Include, $(WINREGISTRY,"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\Microsoft Visual C++\ProductDir")\Include'.

This could happen when DMT recognizes the VC++ version based on the .vcproj file and when the respective Visual Studio IDE was not found on the analysis machine then the error was raised.

Following is an example in which DMT recognized the VC++ version (VC++ 2005) based on the VCproj file and the respective Visual Studio IDE version was not found on the analysis machine analysis failed with error.

 

 

To resolve this issue we need to install the Visual Studio 2005 IDE version on analysis machine and rerun the analysis.
You could also refer the following trouble shooting guide contains other reasons which could make analysis fail with similar error and the solutions for it.

https://doc.castsoftware.com/display/TG/CMS+Snapshot+Analysis+-+Run+Analyzer+-+Fatal+Error+-+CPP+with+Extension+-+Some+paths+could+not+be+substituted

Please sign in to leave a comment.