web-eid-app
web-eid-app copied to clipboard
Windows build instructions in the README are wrong (OpenSSL 3)
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 https://github.com/microsoft/vcpkg/commit/407bc79b391a8e30866c95294babca5b111f6006#diff-d274f14813540f3a0420c68884476dc2d6117b0af37bb9d43e48176c5f6b8ed9
Checking out https://github.com/microsoft/vcpkg/commit/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