我以前安装过.net ,后来机器太老了,受不了那个速度,就下了这个来用。谁知道给我乱弄了一下,就出现了这个东东,用过汉化包。Error spawning cl.exe是什么错误啊!大家帮帮忙啊!

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/3155/3155482.xml?temp=.4691278
      

  2.   

    程序给出提示是说编译的时候找不到CL.EXE这个程序。这主要是VC编译环境未设置好造成的。一定是你在安装完VC后又移动了VC的安装目录。可以在VC中重新设计:Tools->Options...打开Options对话框,选中Directories选项卡,其中有一个Show directiories for下拉列表框,选中Include files。然后在下面设置正确的包含文件目录。CL.exe默认所在的目录为C:\MICROSOFT VISUAL STUDIO\VC98\INCLUDE.
      

  3.   

    程序给出提示是说编译的时候找不到CL.EXE这个程序。这主要是VC编译环境未设置好造成的。一定是你在安装完VC后又移动了VC的安装目录。可以在VC中重新设置:
    Tools->Options...打开Options对话框,选中Directories选项卡,其中有一个Show directiories for下拉列表框,选中Include files。然后在下面设置正确的包含文件目录。CL.exe默认所在的目录为C:\MICROSOFT VISUAL STUDIO\VC98\INCLUDE.
      

  4.   

    PRB: Error Executing ~vcecho!Compiling Q188720
    --------------------------------------------------------------------------------
    The information in this article applies to:Microsoft Visual C++, 32-bit Editions, version 5.0--------------------------------------------------------------------------------
    IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMS
    You may get one of the following error messages while building a project in the Developer Studio: Error spawning cl.exe 
    -or- 
    Error executing ~vcecho!Compiling. 
    -or- 
    Or, you might get an application error dialog box with the message: 
    The instruction at "0x500af8b4" referenced memory at
    "0x00000000". The memory could not be "read". Click on OK to terminate application
    Click on CANCEL to debug the application 
    Developer Studio hangs after this error, regardless of the action you take. MORE INFORMATION
    If you get one of the above errors, use the following steps to ensure that your computer has the correct settings: In Microsoft Developer Studio, on the Tools menu, click Options, then click the Directories tab. In the "Show directories for" drop-down list box, select Executable Files. The following paths should be listed, where drive C is the installation drive: If installed on Windows NT:       C:\Program Files\DevStudio\SharedIDE\BIN
          C:\Program Files\DevStudio\VC\BIN
          C:\Program Files\DevStudio\VC\BIN\WINNT 
    If installed on Windows 95:       C:\Program Files\DevStudio\SharedIDE\BIN
          C:\Program Files\DevStudio\VC\BIN
          C:\Program Files\DevStudio\VC\BIN\WIN95 The "COMSPEC" environment variable should have the following value: If installed on Windows NT:       COMSPEC=%SYSTEMROOT%\CMD.EXE 
    To view and modify the COMSPEC environment variable in the NT Operating System, in Control panel, double-click the System icon, then click the Environment tab. The COMSPEC variable should be in the System Variables box. You can add or modify a variable using the Variable and Value edit box. If installed on Windows 95:       COMSPEC=%WINDIR%\COMMAND.COM 
    In Windows 95, type SET in a DOS window; you will see the environment variables. Add or modify an environment variable by adding a SET command to the Autoexec.bat file, and rebooting. 
    If none of the above steps resolves the issue, make sure that installed Windows CE components are installed under a user account with administrative privileges. 
    If none of the above steps work, then uninstall Windows CE components (if installed) and uninstall Visual C++ 5.0. After uninstalling, delete the ..\DevStudio directory in the installed drive, saving any user-created projects before deleting. Then delete the following registry keys if they still exist.       HKEY_CURRENT_USER\Software\Microsoft\DevStudio
          HKEY_CURRENT_USER\Software\Microsoft\Infoviewer\5.0
          HKEY_LOCAL_MACHINE\Software\Microsoft\DevStudio
          HKEY_LOCAL_MACHINE\Software\Microsoft\Infoviewer\5.0 
    Then reinstall Visual C++ version 5.0. Verify that this installation works before installing any Windows CE components. WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).REFERENCES
    For additional information, please see the following article in the Microsoft Knowledge Base: Q165792 MSDEV.EXE Application Error When Building an Application Keywords : kbide kbVC500 
    Issue type : kbprb 
    Technology : kbvc