Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25169] Windows: Building TI Windows Module with WinSDK 10.15063 installed fails

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2017-08-15T22:34:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterNeeraj Mishra
AssigneeKota Iguchi
Created2017-08-15T16:48:41.000+0000
Updated2017-08-15T22:34:56.000+0000

Description

Description:

Trying to build a module while having Windows SDK 10.0.15063.0 installed, fails to build with:
[WARN]  "D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ComPropelicsPerformancemodule.sln" (default target) (1) ->
"D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ComPropelicsPerformancemodule.vcxproj.metaproj" (default target) (3) ->
"D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ComPropelicsPerformancemodule.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 [D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ComPropelicsPerformancemodule.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 [D:\performance-windows\PerformanceModule\windows\Windows10.Win32\ComPropelicsPerformancemodule.vcxproj]

Steps to replicate:

1. Create any windows module project and try to build it with WinSDK 10.15063 installed.

More details:

This also happens when building an Application but, in that scenario using the --wp-sdk 10.0.14393.0 solves the problem. On a module, it does not. Also tried TIMOB-24402 and specifying the aforementioned SDK version in the manifest to no avail.

Workaround:

The work around for this is opening the generated project files and manually selecting the Target Platform however, it would be preferred to be able to build in such a scenario directly from the CLI without having to open Visual Studio.

Comments

  1. Kota Iguchi 2017-08-15

    Duplicate of TIMOB-25031

JSON Source