Answered Can't build SDK

  • Wednesday, January 25, 2012 3:50 PM
     
     

    Hi,

    Trying to build SDK using WinCE 6.0/VS2005/PB2005 on 32-bit Win7 machine.  Able to build run-time image, NK.bin.  When go to build SDK, keep getting same errors with a different .h file each time (see below):

    Committing database changes

    Committing database changes

    Creating 'required' feature
    Adding required files

    Committing database changes

    Committing database changes

    Rolling sysgen'ed headers and libs
        OMAPL138_AM18X ARMV4I Debug
    CreateFile failed to open "...\SDKs\SDK1\obj\SDK1\Include\ARMV4I\dlgs.h" , Err = 32
     ==> The process cannot access the file because it is being used by another process.

    Error adding sysgen'ed headers and libs
    Error rolling toolkit-specific files
    GenSdk build error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    ***********

    Is this a bug or a folder location error?  Tried off network.  How to fix?

    Thanks, CM007

     

All Replies

  • Wednesday, January 25, 2012 4:28 PM
     
     

    Hello again.  Just moved project to C:\, and it built.  Some issue involving the network?  Why would that be?  Taskhost is running.  Multiple access to same files?  What programs?  BTW, besides the ARM device being SDK'd here, there are 2 other configurations that I haven't built yet: CEPC, and an ARM emulator (see warnings below).  Thanks, CM007

    Messages below:

    ------ Build started: Project: PAD1, Configuration: CEPC x86 Debug Platform Builder (_TGTCPU) ------

    Starting Build: call "C:\...\AppData\Local\Temp\PB\BuildSdks.bat"

    ==============

    'C:\temp\PAD1_CTRY>"C:\Program' Files\Microsoft Platform Builder\6.00\cepb\IdeVS\GenSdk.exe" "C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\obj\BuildSDK1.xml"

    Warning: You have one or more CPU families to be included in the SDK that have missing or out-of-date headers and libraries. Make sure to build the following configurations: CEPC x86 Debug

    Committing database changes

    Committing database changes

    Creating 'required' feature

    Adding required files

    Committing database changes

    Committing database changes

    Rolling sysgen'ed headers and libs

        CEPC x86 Debug

    Warning: This build configuration has missing or out-of-date headers and libraries

    Rolling optional native development components

    Creating 'common' feature

    Adding common files

    Adding documentation files

    Committing database changes

    Committing database changes

    Committing database changes

    Cabbing installation files.

      -- adding C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\obj\SDK1\LicenseTerms.rtf

      -- adding C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\obj\SDK1\Properties.xml

      -- adding C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\obj\SDK1\MSManifest.txt

    Cabinet file successfully created: C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\obj\sdkfiles.cab

    Committing database changes

    Exported SDK to: C:\temp\PAD1_CTRY\PAD1\SDKs\SDK1\MSI\SDK1.msi

    ---------------------------------------------------

    Build all SDKs - 0 error(s), 2 warning(s)

    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

  • Thursday, January 26, 2012 12:35 AM
     
     Answered

    You can find out more about the original error by using ProcessMonitor to watch access to that file to find out who has it open and why.

    http://technet.microsoft.com/en-us/sysinternals/bb896645

    -PaulH

  • Friday, January 27, 2012 3:47 PM
     
     

    Hi PaulH,

    Thanks for idea.  Will try that.

    CM007