Part 1: Unity fails to build due to IL2CPP
,This time after activation of the IL2CPP, im getting other errors!
These errors are:
1:
Failed running C:Program Files (x86)ARMCC_Nintendo_5bin../bin64armcc.exe -c -I "C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Toolsil2cppbdwgcinclude" -I "C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Toolsil2cpplibil2cppinclude" -I "Temp/StagingAreail2cppOutput" -I "C:NintendoSDKSDKinclude" --gnu --cpu "MPCore" --split_sections --apcs=/interwork --littleend --arm --vfe --signed_chars --no_rtti --wchar --wchar16 --multibyte_chars --dollar --exceptions --remove_unneeded_entities --diag_style=ide --data_reorder --fpmode=fast -O2 "-Otime" --no_debug --no_debug_macros --diag_suppress=1,68,186,368,177,550 -D "NN_COMPILER_RVCT" -D "NN_COMPILER_RVCT_VERSION_MAJOR=4" -D "NN_COMPILER_RVCT_VERSION_MINOR=1" -D "NN_PROCESSOR_ARM" -D "NN_PROCESSOR_ARM11MPCORE" -D "NN_PROCESSOR_ARM_V6" -D "NN_PROCESSOR_ARM_VFP_V2" -D "NN_HARDWARE_CTR" -D "NN_PLATFORM_CTR" -D "NN_HARDWARE_CTR_TS" -D "NN_SYSTEM_PROCESS" -D "NN_DEBUGGER_KMC_PARTNER" -D "NN_COMPILER_OPTION_ARM" -D "NN_EFFORT_FAST" -D "__STDC_LIMIT_MACROS" TempStagingAreail2cppOutputDeviceEntryStub.cpp -o TempIl2CppCacheDeviceEntryStub.o
C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Includes/InputN3DSInterface.h(4,41) : error #5: cannot open source input file "nn/hid/CTR/hid_DeviceStatus.h": No such file or directory
armcc : TempStagingAreail2cppOutputDeviceEntryStub.cpp: 0 warnings, 1 error
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:57)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:24)
ArmccCompiler:Compile(String, String, Boolean) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:195)
<CompileDynamicLibrary>c__AnonStorey0:<>m__1(String) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:101)
<ParallelFor>c__AnonStorey1`1:<>m__0(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:86)
2:
Failed running C:Program Files (x86)ARMCC_Nintendo_5bin../bin64armcc.exe -c -I "C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Toolsil2cppbdwgcinclude" -I "C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Toolsil2cpplibil2cppinclude" -I "Temp/StagingAreail2cppOutput" -I "C:NintendoSDKSDKinclude" --gnu --cpu "MPCore" --split_sections --apcs=/interwork --littleend --arm --vfe --signed_chars --no_rtti --wchar --wchar16 --multibyte_chars --dollar --exceptions --remove_unneeded_entities --diag_style=ide --data_reorder --fpmode=fast -O2 "-Otime" --no_debug --no_debug_macros --diag_suppress=1,68,186,368,177,550 -D "NN_COMPILER_RVCT" -D "NN_COMPILER_RVCT_VERSION_MAJOR=4" -D "NN_COMPILER_RVCT_VERSION_MINOR=1" -D "NN_PROCESSOR_ARM" -D "NN_PROCESSOR_ARM11MPCORE" -D "NN_PROCESSOR_ARM_V6" -D "NN_PROCESSOR_ARM_VFP_V2" -D "NN_HARDWARE_CTR" -D "NN_PLATFORM_CTR" -D "NN_HARDWARE_CTR_TS" -D "NN_SYSTEM_PROCESS" -D "NN_DEBUGGER_KMC_PARTNER" -D "NN_COMPILER_OPTION_ARM" -D "NN_EFFORT_FAST" -D "__STDC_LIMIT_MACROS" TempIl2CppCache__N3DS_AssemblyLinkInfo.cpp -o TempIl2CppCache__N3DS_AssemblyLinkInfo.o
TempIl2CppCache__N3DS_AssemblyLinkInfo.cpp(1,20) : error #5: cannot open source input file "nn/dbg.h": No such file or directory
armcc : TempIl2CppCache__N3DS_AssemblyLinkInfo.cpp: 0 warnings, 1 error
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:57)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:24)
ArmccCompiler:Compile(String, String, Boolean) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:195)
ArmccCompiler:CreateLinkInfo(String[], String) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:307)
ArmccCompiler:CompileDynamicLibrary(String, IEnumerable`1, IEnumerable`1, IEnumerable`1, IEnumerable`1) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:103)
UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:161)
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41)
UnityEditor.HostView:OnGUI()
followed by:
IL2CPP compile failed.
at NativeCompiler.RunProgram (System.Diagnostics.ProcessStartInfo startInfo) [0x000e6] in C:buildslaveunitybuildEditorMonoBuildPipelineIl2CppNativeCompiler.cs:59
at NativeCompiler.Execute (System.String arguments, System.String compilerPath) [0x00012] in C:buildslaveunitybuildEditorMonoBuildPipelineIl2CppNativeCompiler.cs:24
at ArmccCompiler.Compile (System.String file, System.String includePaths, Boolean force) [0x0016e] in C:buildslaveunitybuildPlatformDependentN3DSEditorManagedArmccCompiler.cs:195
at ArmccCompiler.CreateLinkInfo (System.String[] sources, System.String includePaths) [0x00230] in C:buildslaveunitybuildPlatformDependentN3DSEditorManagedArmccCompiler.cs:307
at ArmccCompiler.CompileDynamicLibrary (System.String outputFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths) [0x001af] in C:buildslaveunitybuildPlatformDependentN3DSEditorManagedArmccCompiler.cs:103
at UnityEditorInternal.IL2CPPBuilder.Run () [0x00105] in C:buildslaveunitybuildEditorMonoBuildPipelineIl2CppIL2CPPUtils.cs:161
at UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean debugBuild) [0x0000f] in C:buildslaveunitybuildEditorMonoBuildPipelineIl2CppIL2CPPUtils.cs:41
at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x00146] in C:buildslaveunitybuildPlatformDependentN3DSEditorManagedPostProcessN3DS.cs:200
UnityEditor.HostView:OnGUI()
This time i analyzed the code myself, only to find this:
C:/Program Files (x86)/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Includes/InputN3DSInterface.h(4,41) : error #5: cannot open source input file "nn/hid/CTR/hid_DeviceStatus.h": No such file or directory
and this:
TempIl2CppCache__N3DS_AssemblyLinkInfo.cpp(1,20) : error #5: cannot open source input file "nn/dbg.h": No such file or directory
No such file or directory???
does anyone know how to fix this???
Source: Windows Questions