{ "id": "168741", "key": "TIMOB-24925", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-17T11:48:52.000+0000", "created": "2017-07-03T14:25:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T17:22:35.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building a module on Windows (after the fix for TIMOB-24923 is in) it will error our with the below, this error occurs when building from Visual Studio too\r\n\r\n{code}\r\n[WARN] ComAbc.obj : error LNK2019: unresolved external symbol \"__declspec(dllimport) public: __cdecl Titanium::Module::Module(class Titanium::Module &&)\" (__imp_??0Module@Titanium@@QAA@$$QAV01@@Z) referenced in function \"public: __cdecl Com::Abc::Abc(class Com::Abc &&)\" (??0Abc@Com@@QAA@$$QAV01@@Z) [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\n[WARN] ComAbc.obj : error LNK2019: unresolved external symbol \"__declspec(dllimport) public: class Titanium::Module & __cdecl Titanium::Module::operator=(class Titanium::Module &&)\" (__imp_??4Module@Titanium@@QAAAAV01@$$QAV01@@Z) referenced in function \"public: class Com::Abc & __cdecl Com::Abc::operator=(class Com::Abc &&)\" (??4Abc@Com@@QAAAAV01@$$QAV01@@Z) [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\nC:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\Release\\ComAbc.dll : fatal error LNK1120: 2 unresolved externals [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\n[WARN] ComAbc.obj : error LNK2019: unresolved external symbol \"__declspec(dllimport) public: __cdecl Titanium::Module::Module(class Titanium::Module &&)\" (__imp_??0Module@Titanium@@QAA@$$QAV01@@Z) referenced in function \"public: __cdecl Com::Abc::Abc(class Com::Abc &&)\" (??0Abc@Com@@QAA@$$QAV01@@Z) [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\n ComAbc.obj : error LNK2019: unresolved external symbol \"__declspec(dllimport) public: class Titanium::Module & __cdecl Titanium::Module::operator=(class Titanium::Module &&)\" (__imp_??4Module@Titanium@@QAAAAV01@$$QAV01@@Z) referenced in function \"public: class Com::Abc & __cdecl Com::Abc::operator=(class Com::Abc &&)\" (??4Abc@Com@@QAAAAV01@$$QAV01@@Z) [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\n C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\Release\\ComAbc.dll : fatal error LNK1120: 2 unresolved externals [C:\\Users\\ewan\\.titanium\\vsbuild\\awesomemodule\\Windows10.ARM\\ComAbc.vcxproj]\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# appc new -t timodule --name myawesomemodule --id com.foo\r\n# appc run -p windows --build-only\r\n\r\nh5.Actual\r\n\r\nBuild errors out with the warning above\r\n\r\nh5.Expected\r\n\r\nBuild should not error out", "attachment": [], "flagged": false, "summary": "Windows: Unable to build a module with VS2017", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nVisual Studio 2017 \r\nTi SDK: 6.2.0.v20170630062735 (custom build with titanium_mobile_windows#959 vs 2017 support)\r\n", "closedSprints": [ { "id": 925, "state": "closed", "name": "2017 Sprint 15 SDK", "startDate": "2017-07-16T14:40:47.191Z", "endDate": "2017-07-30T14:40:00.000Z", "completeDate": "2017-07-31T16:15:09.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "423878", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1039", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T04:27:17.000+0000", "updated": "2017-07-11T04:27:17.000+0000" }, { "id": "424806", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix in 6.2.0.v20170724075542", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-26T17:22:29.000+0000", "updated": "2017-07-26T17:22:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }