-
Notifications
You must be signed in to change notification settings - Fork 460
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
Build errors with ARM64 on Windows #1859
Comments
At first glance, it looks like the full set of preprocessor checks should be based on EDIT: Or maybe the fix ought to be in Cmake? I would expect this invocation to disable EDIT 2: Maybe this is a CMake bug actually. EDIT 3: Adding the following in the NOT APPLE case seems to fix the issue for me:
|
Tagging @markreidvfx |
@num3ric , thanks for the report. Would you please provide a bit more detail about the CPU in the machine you are building on and which versions of CMake and MSVC? |
cmake version 3.21.1 |
Thanks for the added detail @num3ric. I was discussing this with Cedrik and we're still not clear on what you're trying to do. We see how your EDIT 3 above would work around an issue where CMAKE_SYSTEM_PROCESSOR has the unexpected value on AMD processors (and we could add AMD64 to the list in the CMake checks). But we're confused by your use of the The ARM work we've done so far has been solely for macOS, support for other platforms was not in scope for our work and we've done no testing to support use of ARM on other platforms. |
Yes, it is unusual... https://devblogs.microsoft.com/cppblog/windows-arm64-support-for-cmake-projects-in-visual-studio/ To be honest, we used to support Windows ARM64 for Hololens but that's been dropped, so I don't think we use this build configuration much, if at all, anymore. It's there mostly there for "coverage". I noticed that To be clear, I'm not advocating for Win ARM64 SIMD support, just looking for an error-free build. I'll dig around some more too... I saw that OpenCV may be a good reference here. |
yields the following build errors:
The text was updated successfully, but these errors were encountered: