Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19676] Windows: Compile HAL targeting Windows 10

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-10-07T15:07:00.000+0000
Affected Version/sRelease 5.0.2
Fix Version/sRelease 5.1.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2015-10-06T09:19:44.000+0000
Updated2015-11-04T00:38:24.000+0000

Description

Compile HAL targeting Windows 10. There's a link error when building *HAL* DLL under Windows 10 + Visual Studio 2015.
1>JSString.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id" (__imp_?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A)
That's a known issue introduced from Visual Studio 2015: https://connect.microsoft.com/VisualStudio/feedback/details/1348277/link-error-when-using-std-codecvt-utf8-utf16-char16-t

Comments

  1. Kota Iguchi 2015-10-07

    https://github.com/appcelerator/HAL/pull/57
  2. Kota Iguchi 2015-10-30

    Steps To Test

    This is not actually testable from outside because this is fix for compile issues. You can see if it has no syntax errors by building Titanium app on Windows 10. (For example, ti build --platform windows --vs-target 12.0 --target wp-emulator --device-id 8-1-1 --win-publisher-id 00AFB000-00F0-0F00-0000-C00000EDBD00 --build-only --wp-sdk 8.1)
  3. Ewan Harris 2015-11-04

    Verified using: Windows 10 Pro Appc Core: 5.1.0-42 Appc NPM: 4.2.1 Ti SDK: 5.1.0.v2015102819002 When creating a Windows Platform project and building for wp-device, ws-local and wp-emulator on Windows 10 the build is successful Closing ticket

JSON Source