Skip to content

Windows build instructions in the README are wrong (OpenSSL 3) #203

@mbakhoff

Description

@mbakhoff

I tried building the app using the build instructions from readme, but it fails.

Installed some dependencies:

.\vcpkg install --recurse --triplet x64-windows --clean-after-build gtest openssl
..other stuff..
cmake --build . --config ${BUILD_TYPE} --target installer

C:\Users\User\web-eid-app\install\web-eid.wxs(91): error LGHT0103: The system cannot find the file 'C:/vcpkg/installed/x64-windows/bin\libcrypto-1_1-x64.dll'. [C:\Users\User\web-eid-app\build\src\app\installer.vcxproj]

Looks like vcpkg now installs openssl 3.x, see microsoft/vcpkg@407bc79#diff-d274f14813540f3a0420c68884476dc2d6117b0af37bb9d43e48176c5f6b8ed9

Checking out microsoft/vcpkg@a69b65229b before running .\vcpkg install ... is a workaround.

Another note: "Building and testing in Windows" should say

-Use Powershell to run the following commands
+Use Developer PowerShell for VS 2019 to run the following commands

Otherwise cmake is not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions