8000 ci(build): enable x86 for windows by ReenigneArcher · Pull Request #105 · moonlight-stream/moonlight-common-c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ci(build): enable x86 for windows #105

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ReenigneArcher
Copy link
Contributor
@ReenigneArcher ReenigneArcher commented Apr 16, 2025

This PR enables the Win32/x86 build on Windows. It required installing a Universal OpenSSL package which is done via PowerShell. I had attempted different approaches to installing this such as winget (interestingly, not actually installed on the runners by default) and choco (no arm package available, which was part of my original intent of this PR).

The windows-11-arm image is supposed to include OpenSSL, and actually after installing the universal package it produces the same exact errors during linking. So for this purpose I have disabled the arm build. Perhaps something else needs to be modified for arm support?

PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_EncryptInit_ex referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_EncryptUpdate referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_EncryptFinal_ex referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_DecryptInit_ex referenced in function PltDecryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_DecryptUpdate referenced in function PltDecryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_DecryptFinal_ex referenced in function PltDecryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_new referenced in function PltCreateCryptoContext [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_free referenced in function PltDestroyCryptoContext [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_ctrl referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_aes_128_cbc referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol EVP_aes_128_gcm referenced in function PltEncryptMessage [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
PlatformCrypto.obj : error LNK2019: unresolved external symbol RAND_bytes referenced in function PltGenerateRandomData [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
C:\OpenSSL\lib\VC\x64\MDd\libcrypto.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'ARM64' [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]
D:\a\moonlight-common-c\moonlight-common-c\build_debug\Debug\moonlight-common-c.dll : fatal error LNK1120: 12 unresolved externals [D:\a\moonlight-common-c\moonlight-common-c\build_debug\moonlight-common-c.vcxproj]

Edit: It looks like the required workflows in the branch protection rules need to be updated since appveyor was removed in my last PR.

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

Successfully merging this pull request may close these issues.

1 participant
0