DOCUMENT:Q247331 13-MAY-2002 [visualc] TITLE :PRB: Error Spawning Compiler for Windows CE 2.12 Platforms PRODUCT :Microsoft C Compiler PROD/VER::2.12,6.0 OPER/SYS: KEYWORDS:kbVC600 kbDSupport kbGrpDSVCCompiler ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows CE Toolkit for Visual C++ 6.0 - Microsoft Windows CE Platform Builder, version 2.12 ------------------------------------------------------------------------------- SYMPTOMS ======== With a successful install of the Microsoft Windows CE Toolkit for Microsoft Visual C++ 6.0 and a software development kit (SDK) exported from Microsoft Windows CE Platform Builder 2.12, attempts to build projects targeting the 2.12 platform fail with an error similar to the following: Error spawning clmips.exe CAUSE ===== The Microsoft Windows CE Toolkit for Visual C++ 6.0 was shipped prior to the release of Windows CE version 2.12 and does not include the compilers needed to build applications for this operating system. RESOLUTION ========== By using the compilers provided for Windows CE 2.11 you will be able to build and debug applications targeting Windows CE 2.12: 1. Start Microsoft Visual C++ 6.0. 2. From the Tools select Options, and then select the Directories tab. 3. Select the 2.12 platform in the WCE Configuration drop-down list. 4. Select Executable Files in the Show Directories for drop-down list. 5. Change the WCE212\BIN entry to WCE211\BIN. 6. Select Library Files in the Show Directories for drop-down list. 7. Change occurrences of "Mfc" to "MFC" (capitalize all of the letters). 8. Change occurrences of "Atl" to "ATL" (capitalize all of the letters). NOTE: The preceding changes will not allow applications to be built for the MIPS16 or Thumb processors, which are supported by Windows CE 2.12. Check the Microsoft Windows CE products web site at http://www.microsoft.com/windowsce for information on the availability of updated development tools. STATUS ====== This behavior is by design. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- 1. Install an SDK exported from Platform Builder 2.12 into the Windows CE Toolkit for Visual C++ 6.0. 2. Create or load a Windows CE application and attempt to build for the platform installed in step 1 using a CPU configuration other than x86. An error occurs while spawning the Windows CE compiler for the requested processor. Additional query words: Toolkit Windows CE Platform Builder SDK kbWinCE212 ====================================================================== Keywords : kbVC600 kbDSupport kbGrpDSVCCompiler Technology : kbVCsearch kbAudDeveloper kbSDKSearch kbWinCETKVCSearch kbWinCESDKSearch kbWinCESearch kbWinCESDK212 kbWinCETK600VC Version : :2.12,6.0 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.