diyabc / diyabcGUI

User interface to DIYABC/AbcRanger
https://diyabc.github.io/
Other
4 stars 2 forks source link

Windows standalone build #20

Closed gdurif closed 3 years ago

gdurif commented 4 years ago
  1. run build_standalone.R (based on R package electricShine)
  2. If 1. not working, try running build_standalone_windows.R (based on R package RInno)
fradav commented 4 years ago

Both scripts fails with :

package 'rlang' successfully unpacked and MD5 sums checked
Erreur : (converti depuis l'avis) cannot remove prior installation of package 'rlang'
Exécution arrêtée
gdurif commented 4 years ago

build_standalone.R with electricShine worked, c.f. https://github.com/diyabc/diyabcGUI/releases/tag/v1.0

In the future, we might want to switch to build_standalone_windows.R (potential cleaner build)

fradav commented 4 years ago

Apparently the standalone is missing a few key DLL for the included binaries to work on a "vanilla" windows :

fradav commented 4 years ago

https://github.com/diyabc/abcranger/issues/64 https://github.com/diyabc/diyabc/issues/36

As a side note, we should have a "vanilla" windows VM (as a snapshot for example) to test this.

fradav commented 4 years ago

Good news, I can reproduce the problems in a windows vm.

fradav commented 4 years ago

It is completely fixed for abcranger latest release. However, for diyabc exe, the choice of openmp as multithreading backend forces us to deploy the windows binary with two dlls (included in the release page) vcomp140.dll and vcruntime140.dll : there is no workaround, sorry.

gdurif commented 3 years ago

TODO

gdurif commented 3 years ago

Change of plan and new strategy based on DesktopDeployR: see 4178965

TODO:

gdurif commented 3 years ago

TODO fixed in current release (4fd8d59).

gdurif commented 3 years ago

New standalone release strategy based on DesktopDeployR is now running smoothly.

See build/README.d and build/DesktopDeployR/README.md for more details and instructions.