Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIssing DLL - quaternion-0.0.96.1 #904

Open
acesolucoes opened this issue Aug 8, 2024 · 2 comments
Open

MIssing DLL - quaternion-0.0.96.1 #904

acesolucoes opened this issue Aug 8, 2024 · 2 comments

Comments

@acesolucoes
Copy link

I have Windows 11 and I have downloaded the zip containing the quaternion executable. Though I couldn't run successfully from onset because it was complaining libcrypto-3-x64.dll was missing. I got to pick the DLL from a openSSL repo I had, so the executable ran flawlessly.
Please update the zip with the missing DLL to avoid this issue for the users.
Thanks

@KitsuneRal
Copy link
Member

You didn't read the README, did you?..

@Erquint
Copy link

Erquint commented Nov 25, 2024

I want to take this issue as an opportunity for a constructive discussion. Hear me out.

The README states:

Since there's no established package management on Windows to resolve dependencies, all needed libraries and a C++ runtime are packaged/installed together with Quaternion - except OpenSSL.

I tried downloading the PE ZIP package and launching it to see how it behaves. It did complain at missing libraries. Then I quickly ran:

PS C:\Windows\System32> winget find openssl
Name                 Id                         Version Match        Source
---------------------------------------------------------------------------
FireDaemon OpenSSL 3 FireDaemon.OpenSSL         3.4.0   Tag: openssl winget
OpenSSL 3.3.1        ShiningLight.OpenSSL.Dev   3.3.2                winget
OpenSSL Light 3.3.1  ShiningLight.OpenSSL.Light 3.3.2                winget

PS C:\Windows\System32> winget install ShiningLight.OpenSSL.Light
Found OpenSSL Light 3.3.1 [ShiningLight.OpenSSL.Light] Version 3.3.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Microsoft.VCRedist.2015+.x64
Downloading https://slproweb.com/download/Win64OpenSSL_Light-3_3_2.msi
  ██████████████████████████████  5.42 MB / 5.42 MB
Successfully verified installer hash
Starting package install...
Successfully installed

Then ran the Quaternion executable again and it launched fine.

Out of curiosity I then ran:

PS C:\Windows\System32> winget find quaternion
Name                     Id                     Version  Source
-----------------------------------------------------------------
Quaternion Visualization 9P75ZTFZ2QJJ           Unknown  msstore
Quaternion               quotient-im.Quaternion 0.0.95.1 winget

And surprisingly Quaternion is published on WinGet as well.

So then to further test things I ran:

PS C:\Windows\System32> winget uninstall ShiningLight.OpenSSL.Light
Found OpenSSL Light 3.3.2 (64-bit) [ShiningLight.OpenSSL.Light]
Starting package uninstall...
Successfully uninstalled

And yet the executable downloaded from releases still launched fine after now uninstalling the OpenSSL package. Weird for sure.

Then I ran:

PS C:\Windows\System32> winget install quotient-im.Quaternion
Found Quaternion [quotient-im.Quaternion] Version 0.0.95.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Microsoft.VCRedist.2015+.x64
Downloading https://github.com/quotient-im/Quaternion/releases/download/0.0.95.1/quaternion-0.0.95.1-win64.zip
  ██████████████████████████████  53.2 MB / 53.2 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "quaternion"
Path environment variable modified; restart your shell to use the new value.
Successfully installed

Which seems to have installed Quaternion from WinGet, except when trying to run it — it complains at missing QT libraries.

To summarize:
Is it fair to say that "there's no established package management on Windows to resolve dependencies"? Would you not be able to set QT and OpenSSL packages as requirements in your published Quaternion WinGet package? Is that capability not offered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants