Command line error MIDL1005 : cannot find C preprocessor cl.exe
Command line error MIDL1005 : cannot find C preprocessor cl.exe
RAPID PUBLISHING
Action
Result
Cause
Resolution
cl.exe is present under the bin folder of the VC installation directory. By default, this will be something like this:
C: Program Files Microsoft Visual Studio 8 VC bin.
To include this path, just navigate in the IDE menu to Tools | Options | Projects and Solutions | VC++ Directories, and add $(VCInstallDir)bin to the Executable files list of directories.
More Information
Given a normal and error-free installation of Visual Studio, this entry will have already been added. However, in some support cases, we have found it to have been missing. The cause of this has not yet been identified, but it has been extremely rare.
VC++ Directories, Projects and Solutions, Options Dialog Box (http://msdn.microsoft.com/en-us/library/t9az1d21.aspx)
DISCLAIMER
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
APPLIES TO
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Team Suite
- Microsoft Visual Studio 2005 Service Pack 1
- Microsoft Visual Studio 2008 Standard Edition
- Microsoft Visual Studio 2008 Professional Edition
- Microsoft Visual Studio Team System 2008 Team Suite
- Microsoft Visual Studio 2008 Service Pack 1
Keywords: |
kbnomt kbrapidpub KB961368 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Back to the top
Leave a Reply