Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25031

Windows: Unable to build a module when using SDK 10.0.15063.0 and VS 2015

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0, Release 6.1.1
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Windows 10 10.15063
      Ti SDK: 6.1.1.GA

    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK

      Description

      Description

      When building a module with 10.0.15063 the module build process will error out with the below

      [WARN]  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vccorlib.h(348): error C3940: 'EventRegistrationToken': identifier not found - possible mismatch between compiler and library versions. Please ensure vccorlib.h/.lib, vccorlib120.dll and c1xx.dll match [C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj]
      [WARN]  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vccorlib.h(348): fatal error C1903: unable to recover from previous error(s); stopping compilation [C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj]
      [TRACE] Done Building Project "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj" (default targets) -- FAILED.
      [TRACE] Done Building Project "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj.metaproj" (default targets) -- FAILED.
      [TRACE] Done Building Project "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
      Done Building Project "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.sln" (default targets) -- FAILED.
      [DEBUG] Build FAILED.
      [WARN]  "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.sln" (default target) (1) ->
      "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
      "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj.metaproj" (default target) (3) ->
      "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj" (default target) (5) ->
      (ClCompile target) ->
        C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vccorlib.h(348): error C3940: 'EventRegistrationToken': identifier not found - possible mismatch between compiler and library versions. Please ensure vccorlib.h/.lib, vccorlib120.dll and c1xx.dll match [C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj]
        C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vccorlib.h(348): fatal error C1903: unable to recover from previous error(s); stopping compilation [C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\myawesomemod\windows\Windows10.ARM\ComFoo.vcxproj]
       
          0 Warning(s)
          2 Error(s)
       
      Time Elapsed 00:00:00.66
      

      Unlike TIMOB-24908 this issue is not resolved by setting a targetsdkversion

      Steps to reproduce
      1. Install SDK 10.0.15063 https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
      2. Run appc new -t timodule --id com.foo -n myawesomemodule
      3. cd myawesomemodule/windows
      4. appc run -p windows --build-only
      Actual

      Error above is thrown

      Expected

      Should be able to build module

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Ewan Harris
                Tester:
                Samir Mohammed
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10939
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration