storesafe / cordova-sqlite-evcore-extbuild-free

Cordova sqlite plugin with Android performance enhancements for PhoneGap Build, GPL v3 or commercial license options
Other
24 stars 13 forks source link

Volt build Issue when building for Windows - ARM & new target SDK #62

Closed hermanluis99 closed 1 year ago

hermanluis99 commented 1 year ago

I am trying to make a build for Windows with the plugin cordova-sqlite-evcore-extbuild-free but after building it comes with the error below.

I tried chaging the version below 0.12.1 as ARM support has been removed in later releases but is still doesn’t work.

c:\vs2017\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.15063.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting “Retarget solution”. [\plugins\cordova-sqlite-evcore-extbuild-free\src\windows\SQLite3-WinRT-sync\SQLite3\SQLite3.UWP.vcxproj].

I reached out to Volt, but they recommended I go here to see if it's possible to update the NPM, I tried by referencing the github page directly but still no success.

brodycj commented 1 year ago

related for ARM build issue: https://github.com/storesafe/cordova-sqlite-storage/issues/1007


P.S. My understanding is that you are looking for ARM & recent target SDK support working together. I am working on this as requested through private support thanks!!


P.S. 2: From the homepage of volt.build it looks to me like their focus is building for Android & iOS. But they did add support for Cordova Windows platform in the past:

Considering that Cordova Windows platform is now deprecated I don't see very much future for enhancements in the ecosystem :=)


P.S. 3: I recall that they will stop security updates for Visual Studio 2017 in the next 1-2 years or so.

brodycj commented 1 year ago

I have added back LIMITED support for Windows ARM CPU, 32-bit only. Building for Windows mobile is neither tested nor supported.

I am assuming that there is no need to support 64-bit version of ARM CPU at this point, please correct me in case I am mistaken here.

My understanding from some private correspondence is that there may be an issue with a C/C++ compiler for Windows on Volt build at this point.


P.S. I am now thinking it should be possible to test ARM 64-bit with Apple M-series using Parallels Desktop:

brodycj commented 1 year ago

From some more private discussion my understanding is that the Volt build does not support C/C++ compiler on Windows platform, likely not worth further exploring since the Windows platform is now deprecated.

An alternative solution may be to add support for the Electron platform, not sure whether we should discuss here or somewhere else.

brodycj commented 1 year ago

Latest update from private discussion is that there is a commercial need to support the Windows platform in the Volt build. Since they do not support building the DLL from C / C++ source, we (I) will need to build the SQLite DLLs separately and specify them in plugin.xml.

I think what we need is documented with some examples here:

Assuming we continue this effort it will very likely be in a new evplus or evmax plugin version, available under GPL v3 or super/premium commercial license terms.


P.S. ARM support seems possible for 32-bit only; 64-bit ARM seems to be not supported for Windows.


P.S. 2: From further private discussion the immediate need is to support Volt build for Intel only; ARM support is not so critical at this point.

brodycj commented 1 year ago

Closing in favor of https://github.com/storesafe/cordova-sqlite-evmax-build-free/issues/4

Windows ARM support will likely be removed from this plugin version, maybe added to an evmax plugin version if needed for commercial support.