Visual studio 17 lnk1112 error module machine type 'arm' conflicts with target machine type 'x64'8/23/2023 I did some googling and found these links that address this type of error:Īlso, try using the /VERBOSE option for the Linker to get more detailed build output:īasically, it sounds like the Visual Studio project is somehow misconfigured, which could either because of problem with VS installation or Unity generated an improper project file. Yeah this sounds like some wonkiness with Visual Studio.įirst though, sorry for the dumb question but gotta ask: does your Unity project import any native plugins? Typically this error indicates an x86 native library is being included in your ARM build, but since this error only occurs with IL2CPP that's probably not the case. The only thing in the Unity Editor Log is a line about the build having succeeded, when it built the Visual Studio project. Do you mean the Unity Editor Log? The IL2CPP build is done from a Visual Studio project generated by building in Unity Editor, and building that Visual Studio project is when the linker error happens. OUT:"D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\bin\ARM\Release\HoloCollaboration.exe" /MANIFEST:NO /LTCG /NXCOMPAT /PDB:"D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\bin\ARM\Release\HoloCollaboration.pdb" /DYNAMICBASE "WindowsApp.lib" "D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\bin\ARM\Release\GameAssembly.lib" /DEBUG:FULL /MACHINE:ARM /WINMD /APPCONTAINER /OPT:REF /PGD:"D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\bin\ARM\Release\HoloCollaboration.pgd" /WINMDFILE:"D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\bin\ARM\Release\HoloCollaboration.winmd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:NO /ManifestFile:"D:\workdir\gitrepos\sp246-arf-HoloLens2\src-unity\HoloCollaborationUnity\Build.IL2CPP\build\obj\HoloCollaboration\ARM\Release\" /OPT:ICF /ERRORREPORT ROMPT /NOLOGO /TLBID:1 I can however get the linker command line out of the Visual Studio project properties. Also I've checked all my library and include paths in the project settings and they all seem to point to the ARM versions.Ĭlick to expand.I'm not sure I understand the question. I've also made sure to completely delete the build directories to make sure there were no old build remnants from x86 builds. So far I've tried building with both Visual Studio 20, and I have installed every package having to do with ARM and ARM64 platforms, but nothing has helped. I get this same error when trying to build another project for HoloLens 2 using Unity version 2019.4, which only supports IL2CPP builds. But when using the IL2CPP backend, I get the following linker error:įatal error LNK1112: module machine type 'X86' conflicts with target machine type 'ARM' NET builds, deploys and runs on the HoloLens 2 perfectly fine. The same exact project, with no other changes other than switching the scripting backend from IL2CPP to. ![]() I'm having a build issue while trying to build for HoloLens 2 on the ARM platform using Unity version 2018.4.23, but only if I build with IL2CPP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |