-
Notifications
You must be signed in to change notification settings - Fork 294
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
Add support for building for Windows ARM64 #670
base: master
Are you sure you want to change the base?
Conversation
…ld-lib.cmd. build-all.cmd: add runtime arch detection for Windows ARM64.
I went through all commits of all 3 PRs, and it looks like the port was done correctly. I saw no surprises. I haven't compiled tested yet, will try to do so once I get my Windows system backup and running. |
Is libcecsharp included in this too, or is the intention to build without it (or did I clone something wrong?) I cloned this repo recursively, and use the build command: It then appears to try and build the x64 version of libcecsharp, on my WoA machine |
It isn't, unfortunately. |
No compatible one, as in the ones that support it are too new compared to the one the project requires? Is there a command line I should be using for building/testing then, that doesn't build libcecsharp? |
Added a fix to build-all.cmd to disable building of .NET binaries on ARM64. I did try to build .NET libs, but could not get anything to build. EDIT: updated the .NET fix to avoid breakage for x86. |
Had another look and .NET issue. If retargeting SDK version would be an option, switching LibCecSharp to Windows 10 SDK would allow to build the .NET library and applications for ARM64. |
I suspect that is something that would need to be answered by the maintainers - IMO moving to the Windows 10 SDK is not unreasonable, it's been around for a while now. How would that impact building for Linux/macOS (if libcecsharp is built for those platforms at all?) C#/.NET components aside, I gave building this a go - there was a single error at the end of the same command I specified previously, with the last 2 lines of the log being:
Is the install step still trying to look for libcecsharp somewhere? That aside, it appears to build correctly, but I had no way of testing anything - I don't own one of the pulse-eight USB adapters, which AFAICT is the only way to test this on a Windows machine - the HDMI port on my Thinkpad T14s Gen6 certainly doesn't seem to advertise CEC support. |
Thanks for your review. Does that error come from build-all.cmd ? I will have a look, I may have forgotten something. I also don't own anything from Pulse Eight nor have any compatible Windows ARM64 hardware to test. My Surface Pro 11 5G does not have any HDMI ports, only DisplayPort over Type-C. As for .NET support for ARM64, we need a word from maintainers. |
Yes it does, I just recursively cloned your repo, and did a
I guess at this point we need to find someone who has both the pulse-eight hardware and one of these machines then (maybe a mac running parallels would possibly work too?) For the rest, I suspect we now need a miantainer to weigh in and give their opinions on the .NET situation |
Ok, I'll take a look at the script later this day. |
This PR adds support for building libcec for Windows ARM64.
Please also check out the relevant PRs for "platform" and "support" submodules.
Pulse-Eight/platform#50
Pulse-Eight/libcec-support#4