You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
When using VS2019 Developer Command Prompt and trying to build the BusTools with
msbuild /p:Platform=ARM /p:Configuration=Release
was getting Linker error
fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'ARM'
But all projects and solution seemed to have Target set correctly for ARM.
After some time found solution was that VS2019 did not have MSVC v142 - VS 2019 C++ ARM build tools (v14.21) installed via VS installer.
Personally not C++ experience much these days, is this type of issue expected, or should there be a more clearer error message indicating the ARM build tools may not be available?
As it was not clear in either CLI or VS that the /p:Platform=ARM switch was failing and falling back to using X86
The text was updated successfully, but these errors were encountered:
I have similar problem when going through this sample (installing python on windows IoT core) and building process gives me similar error: fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'ARM'.
I ran into this issue recently, turns out for some reason the ARM build tools were actually not installed anymore. Not sure why or how as I had definitely installed them before, but just double check and make sure you have them selected in Visual Studio Installer.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using VS2019 Developer Command Prompt and trying to build the BusTools with
was getting Linker error
But all projects and solution seemed to have Target set correctly for ARM.
After some time found solution was that VS2019 did not have MSVC v142 - VS 2019 C++ ARM build tools (v14.21) installed via VS installer.
Personally not C++ experience much these days, is this type of issue expected, or should there be a more clearer error message indicating the ARM build tools may not be available?
As it was not clear in either CLI or VS that the /p:Platform=ARM switch was failing and falling back to using X86
The text was updated successfully, but these errors were encountered: