{ "id": "142056", "key": "TIMOB-18285", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-07T22:27:39.000+0000", "created": "2014-12-23T22:11:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "49227", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151806", "key": "TIMOB-19686", "fields": { "summary": "Error on build for Windows Phone - \"Cmake ...is not able to compile a simple test program\"", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-10-07T19:11:44.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "*Details:* Cannot build to Windows emulator or device from Windows OS 8.1.\r\n\r\n*Note:* This issue was only reproducible on *one* particular QE Windows machine. The other QE Windows machine (not reproducing this issue) had the same setup except it was running Visual Studio Community 2013 Update 4.\r\n\r\n*Steps to reproduce:*\r\n0. Follow setup steps from \"Windows Preview Announcement\" email\r\n1. Open cmd prompt\r\n2. Create a project via CLI\r\n3. Build to emulator {{ti build -p windows -T wp-emulator}} *or* device: {{ti build -p windows -T wp-device}}\r\n4. Input your publisher guid (if prompt is enabled)\r\n5. If installing to emulator, select an emulator\r\n\r\n*Acutal:* Build will fail for both emulator and device; see emulator_install.txt and device_install.txt attachments.\r\n\r\n*Expected:* Should be able to build to both Windows emulator and device.", "attachment": [ { "id": "53349", "filename": "CMakeError_lokesh.txt", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-23T22:56:16.000+0000", "size": 15535, "mimeType": "text/plain" }, { "id": "53350", "filename": "CMakeOutput_lokesh.txt", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-23T22:56:16.000+0000", "size": 5880, "mimeType": "text/plain" }, { "id": "53345", "filename": "emulator_install.txt", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-23T22:11:07.000+0000", "size": 13129, "mimeType": "text/plain" }, { "id": "53346", "filename": "windows_notes.txt", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-23T22:11:07.000+0000", "size": 3360, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows: Build - Cannot build for Windows emulator or device when path exceeds 260 characters", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "CLI: 3.5.0-dev\r\nSDK build: 3.6.0.v20141223082526\r\nOS: Windows 8.1\r\nVisual Studio Pro 2013: 12.0.31101.00 Update 4\r\nDevice: Nokia Lumia 520 (8.1), Emulator 8.1 U1 WVGA 4 inch 512MB", "comment": { "comments": [ { "id": "337450", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am also running into this issue. The build fails when built from studio 3.4.1.201410281743\r\n\r\nStudio Console Log:\r\n{code}\r\n[WARN] : CMake Error at C:/ProgramData/Titanium/mobilesdk/win32/3.6.0.v20141223082526/windows/cli/vendor/cmake/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:61 (message):\r\n The C compiler \"C:/Program Files (x86)/Microsoft Visual Studio\r\n 12.0/VC/bin/x86_arm/cl.exe\" is not able to compile a simple test program.\r\n It fails with the following output:\r\n Change Dir: C:/Users/QE-Tester/Documents/Appcelerator_Studio_Workspace/lokiwin/build/windows/WindowsPhone.ARM/CMakeFiles/CMakeTmp\r\n Run Build Command:\"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe\"\r\n \"cmTryCompileExec1289290862.vcxproj\" \"/p:Configuration=Debug\"\r\n \"/p:VisualStudioVersion=12.0\"\r\n Microsoft (R) Build Engine version 12.0.31101.0\r\n [Microsoft .NET Framework, version 4.0.30319.34014]\r\n Copyright (C) Microsoft Corporation. All rights reserved.\r\n Build started 12/23/2014 2:37:51 PM.\r\n Project\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj\"\r\n on node 1 (default targets).\r\n PrepareForBuild:\r\n Creating directory \"cmTryCompileExec1289290862.dir\\Debug\\\".\r\n Creating directory \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\\".\r\n Creating directory \"cmTryCompileExec1289290862.dir\\Debug\\cmTryCom.F54EB0FF.tlog\\\".\r\n Creating directory \"Generated Files\\\".\r\n GetInstalledSDKLocations:\r\n Searching for SDKs targeting \"WindowsPhoneApp, 8.1\".\r\n ResolveSDKReferences:\r\n Reading SDK manifest file \"C:\\Program Files (x86)\\Microsoft SDKs\\WindowsPhoneApp\\v8.1\\ExtensionSDKs\\Microsoft.VCLibs\\12.0\\SDKManifest.xml\".\r\n Targeted configuration and architecture \"Debug|ARM\"\r\n Could not find \"FrameworkIdentity\" attribute \"FrameworkIdentity-Debug-ARM\" in the SDK manifest. \r\n Found \"FrameworkIdentity\" attribute \"Name = Microsoft.VCLibs.120.00.Phone.Debug, MinVersion = 12.0.30113.0\" in the SDK manifest.\r\n Found \"APPX\" location attribute \"AppX-Debug-x86=.\\AppX\\Debug\\x86\\Microsoft.VCLibs.x86.Debug.12.00.Phone.appx\" in the SDK manifest.\r\n Found \"APPX\" location attribute \"AppX-Debug-ARM=.\\AppX\\Debug\\ARM\\Microsoft.VCLibs.ARM.Debug.12.00.Phone.appx\" in the SDK manifest.\r\n ExpandSDKReferences:\r\n Enumerating SDK Reference \"Microsoft.VCLibs, Version=12.0\" from \"C:\\Program Files (x86)\\Microsoft SDKs\\WindowsPhoneApp\\v8.1\\ExtensionSDKs\\Microsoft.VCLibs\\12.0\\\".\r\n Adding reference \"References\\CommonConfiguration\\neutral\\platform.winmd\".\r\n InitializeBuildStatus:\r\n Creating \"cmTryCompileExec1289290862.dir\\Debug\\cmTryCom.F54EB0FF.tlog\\unsuccessfulbuild\" because \"AlwaysCreate\" was specified.\r\n ClCompile:\r\n C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_arm\\CL.exe /c /I\"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\\\\" /I\"Generated Files\\\\\" /IcmTryCompileExec1289290862.dir\\Debug\\ /Zi /W3 /WX- /sdl /MP /Od /Ob0 /Oi /Oy- /D WIN32 /D _WINDOWS /D UNICODE /D _UNICODE /D _DEBUG /D \"CMAKE_INTDIR=\\\"Debug\\\"\" /D PSAPI_VERSION=2 /D WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP /D _UITHREADCTXT_SUPPORT=0 /D _UNICODE /D UNICODE /Gm- /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo\"cmTryCompileExec1289290862.dir\\Debug\\\\\" /Fd\"cmTryCompileExec1289290862.dir\\Debug\\vc120.pdb\" /Gd /TC /analyze- /errorReport:queue \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\testCCompiler.c\"\r\n Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for ARM\r\n Copyright (C) Microsoft Corporation. All rights reserved.\r\n testCCompiler.c\r\n cl /c /I\"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\\\\" /I\"Generated Files\\\\\" /IcmTryCompileExec1289290862.dir\\Debug\\ /Zi /W3 /WX- /sdl /MP /Od /Ob0 /Oi /Oy- /D WIN32 /D _WINDOWS /D UNICODE /D _UNICODE /D _DEBUG /D \"CMAKE_INTDIR=\\\"Debug\\\"\" /D PSAPI_VERSION=2 /D WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP /D _UITHREADCTXT_SUPPORT=0 /D _UNICODE /D UNICODE /Gm- /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo\"cmTryCompileExec1289290862.dir\\Debug\\\\\" /Fd\"cmTryCompileExec1289290862.dir\\Debug\\vc120.pdb\" /Gd /TC /analyze- /errorReport:queue \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\testCCompiler.c\"\r\n Link:\r\n C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_arm\\link.exe /ERRORREPORT:QUEUE /OUT:\"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.exe\" /INCREMENTAL /NOLOGO WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib /NODEFAULTLIB:kernel32.lib /NODEFAULTLIB:ole32.lib /MANIFEST /ManifestFile:\"cmTryCompileExec1289290862.dir\\Debug\\cmTryCompileExec1289290862.exe.intermediate.manifest\" /MANIFESTUAC:NO /DEBUG /PDB:\"C:/Users/QE-Tester/Documents/Appcelerator_Studio_Workspace/lokiwin/build/windows/WindowsPhone.ARM/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1289290862.pdb\" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /TLBID:1 /APPCONTAINER /WINMD:NO /WINMDFILE:\"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.winmd\" /DYNAMICBASE /NXCOMPAT /IMPLIB:\"C:/Users/QE-Tester/Documents/Appcelerator_Studio_Workspace/lokiwin/build/windows/WindowsPhone.ARM/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1289290862.lib\" /MACHINE:ARM /machine:ARM /debug cmTryCompileExec1289290862.dir\\Debug\\testCCompiler.obj\r\n LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF'\r\n specification\r\n [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n cmTryCompileExec1289290862.vcxproj -> C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.exe\r\n Manifest:\r\n C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\mt.exe /nologo /verbose /out:\"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.manifest\" /manifest cmTryCompileExec1289290862.dir\\Debug\\cmTryCompileExec1289290862.exe.intermediate.manifest\r\n ComputeProcessXamlFiles:\r\n (Out) ProcessedXamlFiles == \r\n CustomOutputGroupForPackaging:\r\n (Out) Project='cmTryCompileExec1289290862' ProcessedXamlFiles == \r\n (Out) XamlPackagingRootFolder == C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\\\\r\n (Out) ProcessedXamlFilesFullPath == \r\n (Out) Project='cmTryCompileExec1289290862' CustomOutputGroupForPackagingOutput == \r\n GetPackagingOutputs:\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.ProjectPriFile : resources.pri -> resources.pri\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.BuiltProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.exe -> cmTryCompileExec1289290862.exe\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.DebugSymbolsProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.pdb -> cmTryCompileExec1289290862.pdb\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.ContentFilesProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.dir\\SmallLogo.png -> cmTryCompileExec1289290862.dir\\SmallLogo.png\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.ContentFilesProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.dir\\Logo.png -> cmTryCompileExec1289290862.dir\\Logo.png\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.ContentFilesProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.dir\\StoreLogo.png -> cmTryCompileExec1289290862.dir\\StoreLogo.png\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.ContentFilesProjectOutputGroup : C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.dir\\SplashScreen.png -> cmTryCompileExec1289290862.dir\\SplashScreen.png\r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862.GetResolvedSDKReferences : C:\\Program Files (x86)\\Microsoft SDKs\\WindowsPhoneApp\\v8.1\\ExtensionSDKs\\Microsoft.VCLibs\\12.0\\ -> \r\n cmTryCompileExec1289290862 : cmTryCompileExec1289290862._GetProjectArchitecture : arm -> \r\n C:\\Program Files\r\n (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2893,9):\r\n warning APPX1901: The DefaultLanguage property is either missing from the\r\n project file or does not have a value. The fallback language is set to the\r\n Visual Studio language: en-US.\r\n [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n _GenerateProjectPriConfigurationFiles:\r\n cmTryCompileExec1289290862 -> cmTryCompileExec1289290862.dir\\Debug\\priconfig.xml\r\n cmTryCompileExec1289290862 -> cmTryCompileExec1289290862.dir\\Debug\\layout.resfiles\r\n cmTryCompileExec1289290862 -> cmTryCompileExec1289290862.dir\\Debug\\resources.resfiles\r\n cmTryCompileExec1289290862 -> cmTryCompileExec1289290862.dir\\Debug\\pri.resfiles\r\n _GenerateProjectPriFileCore:\r\n C:\\Program Files (x86)\\Windows Kits\\8.1\\\\bin\\x86\\MakePri.exe New -ProjectRoot C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\ -ConfigXml cmTryCompileExec1289290862.dir\\Debug\\priconfig.xml -OutputFile resources.pri -ExtensionDll \"C:\\Program Files (x86)\\Windows Phone Kits\\8.1\\\\bin\\x86\\MrmEnvironmentExtDl.dll\" -IndexName F54EB0FF-6BFC-47AC-B8E7-F7907965FA58 -Verbose -Overwrite \r\n cmTryCompileExec1289290862 -> resources.pri\r\n _GenerateAppxPackageFile:\r\n C:\\Program Files (x86)\\Windows Kits\\8.1\\\\bin\\x86\\MakeAppx.exe pack /l /h sha256 /f cmTryCompileExec1289290862.dir\\Debug\\package.map.txt /o /p C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appx \r\n cmTryCompileExec1289290862 -> C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appx\r\n _GenerateAppxSymbolPackage:\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\PDBCopy.exe C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\Debug\\cmTryCompileExec1289290862.pdb cmTryCompileExec1289290862.dir\\Debug\\Stripped\\cmTryCompileExec1289290862.pdb -p \r\n Adding file 'cmTryCompileExec1289290862.pdb'.\r\n cmTryCompileExec1289290862 -> C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appxsym\r\n cmTryCompileExec1289290862 -> C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appxsym\r\n _CreateAppStoreContainer:\r\n Adding file 'cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appx'.\r\n Adding file 'cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appxsym'.\r\n cmTryCompileExec1289290862 -> C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug.appxupload\r\n Your package has been successfully created.\r\n C:\\Program Files\r\n (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(1837,9):\r\n error MSB4023: Cannot evaluate the item metadata \"%(FullPath)\". The item\r\n metadata \"%(FullPath)\" cannot be applied to the path\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\Dependencies\\ARM\\Microsoft.VCLibs.ARM.Debug.12.00.Phone.appx\".\r\n C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\Dependencies\\ARM\\Microsoft.VCLibs.ARM.Debug.12.00.Phone.appx\r\n [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n Done Building Project\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj\"\r\n (default targets) -- FAILED.\r\n Build FAILED.\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj\"\r\n (default target) (1) ->\r\n (Link target) -> \r\n LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj\"\r\n (default target) (1) ->\r\n (_GetDefaultResourceLanguage target) -> \r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2893,9): warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. The fallback language is set to the Visual Studio language: en-US. [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj\"\r\n (default target) (1) ->\r\n (_CreateTestLayout target) -> \r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(1837,9): error MSB4023: Cannot evaluate the item metadata \"%(FullPath)\". The item metadata \"%(FullPath)\" cannot be applied to the path \"C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\Dependencies\\ARM\\Microsoft.VCLibs.ARM.Debug.12.00.Phone.appx\". C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\AppPackages\\cmTryCompileExec1289290862\\cmTryCompileExec1289290862_1.0.0.0_ARM_Debug_Test\\Dependencies\\ARM\\Microsoft.VCLibs.ARM.Debug.12.00.Phone.appx [C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\lokiwin\\build\\windows\\WindowsPhone.ARM\\CMakeFiles\\CMakeTmp\\cmTryCompileExec1289290862.vcxproj]\r\n 2 Warning(s)\r\n 1 Error(s)\r\n Time Elapsed 00:00:03.65\r\n CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n CMakeLists.txt:17 (project)\r\n[WARN] : \r\n[INFO] : -- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/QE-Tester/Documents/Appcelerator_Studio_Workspace/lokiwin/build/windows/WindowsPhone.ARM/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/QE-Tester/Documents/Appcelerator_Studio_Workspace/lokiwin/build/windows/WindowsPhone.ARM/CMakeFiles/CMakeError.log\".\r\n{code}\r\n\r\nEnvironment:\r\nTi Studio: 3.4.1.201410281743 \r\nTi SDK : 3.6.0.v20141223082526\r\nOS : Microsoft Windows 8.1 Pro\r\nVS Studio : Community 2013 update 4\r\nDevice: Nokia 1020 (8.1)\r\n\r\nAttaching my CMakeOutput.log & CMakeError.log file for reference", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-23T22:54:03.000+0000", "updated": "2014-12-23T22:55:10.000+0000" }, { "id": "337463", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "There's two things that stand out for me in the output here:\r\n{code}\r\nThe C compiler \"C:/Program Files (x86)/Microsoft Visual Studio\r\n 12.0/VC/bin/cl.exe\" is not able to compile a simple test program.\r\n\r\n It fails with the following output:\r\n\r\n Change Dir: C:/Users/Windo_000/Documents/Appcelerator_Studio_Workspace/monkeyLord2/build/windows/WindowsPhone.Win32/CMakeFiles/CMakeTmp\r\n{code}\r\n\r\nand later:\r\n{code}\r\nC:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(1752,9): error MSB6003: The specified task executable \"MakeAppx.exe\" could not be run. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [C:\\Use\r\n{code}\r\n\r\nSo it looks to me like a path issue. My best guess is that it's just throwing up errors due to the second error message - that these paths are too long for Windows. If that's the case, then I suppose the \"fix\" here is to try and compile under C:\\Temp and then copy everything over after? Basically the default workspace path is very long and just trying to build everything under the project's build/windows/WindowPhone.ARCH folder will often result in very long paths. \r\n\r\nAn easy way to test this theory is to instead generate the project at the root of the drive and try building (i.e. \"C:\\project\"). This will chop off around 56 characters from the path in this particular case.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2014-12-24T01:56:56.000+0000", "updated": "2014-12-24T01:56:56.000+0000" }, { "id": "337670", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Upon further testing I see that if my project path has 65 characters or less the app is build successfully, whereas if its 68 characters or more the build fails with the error above. This means we are adding lot of characters on top of 65 during the build process for the build process to fail.\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-30T21:57:03.000+0000", "updated": "2014-12-30T21:57:22.000+0000" }, { "id": "337863", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Unfortunately there's not a lot of great workarounds to build into the tooling. Some options:\r\n- trim the paths I append to the build folder, mostly the Windows(Phone/Store).(Win32|ARM) portion. I could shrink this down to around ~6 characters, which would save us 10-12 characters.\r\n- Use a different folder for building and then copy the results over before launch? This would slow the build down as we'd have to copy things around. Also With Windows 7/8+ the temp directory isn't exactly short either: \"C:\\Users\\User Name\\AppData\\Local\\Temp\"\r\n- Hacking something up with SUBST: http://technet.microsoft.com/en-us/library/bb491006.aspx to assign a drive letter to the path, effectively shortening the path.\r\n\r\nWe're not the only ones running into this:\r\nhttps://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation\r\nhttp://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/4954037-fix-260-character-file-name-length-limitation", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-05T18:53:31.000+0000", "updated": "2015-01-05T18:53:31.000+0000" }, { "id": "337865", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "So trimming the appended path plus using temp may make a decent enough crack at avoiding this for users. Let's compare the proposed versus current:\r\n{code}\r\nC:/Users/Windo_000/Documents/Appcelerator_Studio_Workspace/monkeyLord2/build/windows/WindowsPhone.Win32\r\nC:/Users/Windo_000/AppData/Local/Temp/monkeyLord2/wp.x86\r\n{code}\r\nThen we can copy the result back into ~/build/windows/wp.x86 after the msbuild portion runs. So in this case we'd save 47 characters, which seems pretty good since the limit we're trying to avoid is 260. Unfortunately, beyond that we'd have to ask the users to place their projects in a shorter path to start with and not do the temp build.\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-05T19:00:30.000+0000", "updated": "2015-01-05T19:13:40.000+0000" }, { "id": "337898", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/73", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-05T21:20:49.000+0000", "updated": "2015-01-05T21:20:49.000+0000" }, { "id": "357412", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0\r\nAppc CLI (Registry): 4.1.0\r\nTi SDK: 4.1.0.GA\r\n\r\nWhen building on machines where the path exceeds 260 characters the build is now working fine\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-10T00:12:22.000+0000", "updated": "2015-07-10T00:12:22.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }