Search Unity

IL2cpp build failure on 2019 beta

Discussion in 'Windows' started by snacktime, Apr 3, 2019.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    2,312
    Any idea what could be going on here?

    Failed running C:\Program Files\Unity\Hub\Editor\2019.1.0b9\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x64" --configuration="Release" --outputpath="C:\Games\aigame\AiClient\Temp/StagingArea/Data\Native\GameAssembly.dll" --cachedirectory="C:\Games\aigame\AiClient\Assets\..\Library/il2cpp_cache" --enable-debugger --incremental-g-c-time-slice=3 --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.1.0b9/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=C:/Games/aigame/AiClient/Temp/StagingArea/Data/Managed --generatedcppdir=C:/Games/aigame/AiClient/Temp/StagingArea/Data/il2cppOutput --extra-types-file=C:/Games/aigame/AiClient/Temp/StagingArea/Data/extra-types.txt

    stdout:

    WARNING: Cannot add extra type Unity.Entities.JobProcessComponentDataExtensions+JobStruct_Process_ED`2[Unity.Transforms.CopyInitialTransformFromGameObjectSystem+CopyTransforms,Unity.Transforms.LocalToWorld]. Skipping.

    WARNING: Cannot add extra type Unity.Entities.JobProcessComponentDataExtensions+JobStruct_Process_ED`2[Unity.Transforms.CopyTransformFromGameObjectSystem+CopyTransforms,Unity.Transforms.LocalToWorld]. Skipping.

    Building GameAssembly.dll with MsvcDesktopToolChain

    Msvc Install Version: 15.0

    Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10

    Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe

    Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe



    Output directory: C:\Games\aigame\AiClient\Temp\StagingArea\Data\Native

    Cache directory: C:\Games\aigame\AiClient\Library\il2cpp_cache

    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: Il2CppAttributes.cpp

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2039: 'infinity': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2039: 'infinity': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2039: 'infinity': is not a member of '`global namespace''



    Invocation was: Executable: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe"

    Arguments: "C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp" /nologo /c /bigobj /W3 /Zi /EHs /GR- /Gy /wd4102 /wd4800 /wd4056 /wd4190 /wd4723 /wd4467 /wd4503 /Ox /Oi /Oy- /GS- /Gw /GF /Zo /MT /DNET_4_0 /DUNITY_AOT /DIL2CPP_MONO_DEBUGGER=1 /DIL2CPP_DEBUGGER_PORT=56000 /DGC_NOT_DLL /DRUNTIME_IL2CPP /DIL2CPP_ENABLE_WRITE_BARRIERS=1 /DIL2CPP_INCREMENTAL_TIME_SLICE=3 /D_WIN32 /DWIN32 /DWIN32_THREADS /D_WINDOWS /DWINDOWS /D_UNICODE /DUNICODE /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_WINSOCK_DEPRECATED_NO_WARNINGS /DNOMINMAX /D_NDEBUG /DNDEBUG /DWINDOWS_SDK_BUILD_VERSION=17763 /DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP /I"C:\Program Files\Unity\Hub\Editor\2019.1.0b9\Editor\Data\il2cpp\libil2cpp" /I"C:\Program Files\Unity\Hub\Editor\2019.1.0b9\Editor\Data\il2cpp\libil2cpp" /I"C:\Program Files\Unity\Hub\Editor\2019.1.0b9\Editor\Data\il2cpp\external\bdwgc\include" /I"C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput" /I"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt" /Fo"C:\Games\aigame\AiClient\Library\il2cpp_cache\53F4088B7F45AFC22C435A0423AB010E.obj" /Fd"C:\Games\aigame\AiClient\Library\il2cpp_cache\53F4088B7F45AFC22C435A0423AB010E.pdb"

    EnvArg key: PATH value: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64



    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)

    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)

    at il2cpp.Program.DoRun(String[] args)

    at il2cpp.Program.Run(String[] args)

    at il2cpp.Program.Main(String[] args)

    stderr:



    Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: Il2CppAttributes.cpp

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(92841): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93636): error C2039: 'infinity': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(93661): error C2039: 'infinity': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94230): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94298): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94786): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(94805): error C2039: 'max': is not a member of '`global namespace''

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2039: 'numeric_limits': is not a member of 'std'

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(627): note: see declaration of 'std'

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2065: 'numeric_limits': undeclared identifier

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2062: type 'float' unexpected

    C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp(105968): error C2039: 'infinity': is not a member of '`global namespace''



    Invocation was: Executable: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe"

    Arguments: "C:\Games\aigame\AiClient\Temp\StagingArea\Data\il2cppOutput\Il2CppAttributes.cpp" /nologo /c /bigobj /W3 /Zi /EHs /GR- /Gy /wd4102 /wd4800 /wd4056 /wd4190 /wd4723 /wd4467 /wd4503 /Ox /Oi /Oy- /GS- /Gw /GF /Zo /MT /DNET_4_0 /DUNITY_AOT /DIL2CPP_MONO_DEBUGGER=1 /DIL2CPP_DEBUGGER_PORT=56000 /DGC_NOT_DLL /DRUNTIME_IL2CPP /DIL2CPP_ENABLE_WRITE_BARRIERS=1 /DIL2CPP_INCREM<message truncated>
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,880
  3. andreimitrica4

    andreimitrica4

    Joined:
    Jul 11, 2019
    Posts:
    16
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,351
    What is the error you get?
     
  5. andreimitrica4

    andreimitrica4

    Joined:
    Jul 11, 2019
    Posts:
    16
    Failed running D:\Install unity\2019.1.1f1\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="D:\Unity\Test\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="D:\Unity\Test\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="D:/Install unity/2019.1.1f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="D:/Install unity/2019.1.1f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=D:/Unity/Test/Temp/StagingArea/assets/bin/Data/Managed --generatedcppdir=D:/Unity/Test/Temp/StagingArea/Il2Cpp/il2cppOutput

    stdout:

    Building libil2cpp.so with AndroidToolChain

    Output directory: D:\Unity\Test\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a

    Cache directory: D:\Unity\Test\Library\il2cpp_android_armeabi-v7a\il2cpp_cache

    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp:72:

    In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity\AtomicQueue.cpp:6:

    In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps.h:121:

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r0", "r1", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    9 errors generated.





    Invocation was: Executable: "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++"

    Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\external\bdwgc\include" -I"." -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++abi\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\android\support\include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot" -gcc-toolchain "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -isystem "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot\usr\include\arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp" -o "D:/Unity/Test/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/BB5242852E2443CE2A86305754C0A336.o"



    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)

    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)

    at il2cpp.Program.DoRun(String[] args)

    at il2cpp.Program.Run(String[] args)

    at il2cpp.Program.Main(String[] args)

    stderr:



    Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp:72:

    In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity\AtomicQueue.cpp:6:

    In file included from D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps.h:121:

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r0", "r1", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp/..\..\..\..\..\..\..\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list

    : "cc", "memory", "r2", "r3"

    ^

    9 errors generated.





    Invocation was: Executable: "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++"

    Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Install unity\2019.1.1f1\Editor\Data\il2cpp\external\bdwgc\include" -I"." -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++abi\include" -I"D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\android\support\include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot" -gcc-toolchain "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -isystem "D:\Install unity\2019.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot\usr\include\arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "D:\Unity\Test\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp" -o "D:/Unity/Test/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/BB5242852E2443CE2A86305754C0A336.o"



    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)

    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)

    at il2cpp.Program.DoRun(String[] args)

    at il2cpp.Program.Run(String[] args)

    at il2cpp.Program.Main(String[] args)


    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496)
    UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    P.S. I tried multiple unity versions

    Please help me.. i tried a lot of things and i still can't build IL2CPP.....
     
    Last edited: Jul 13, 2019
  6. andreimitrica4

    andreimitrica4

    Joined:
    Jul 11, 2019
    Posts:
    16
    Exception: D:\Install unity\2019.1.1f1\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.String inputDirectory, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)






    Build completed with a result of 'Failed'
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)



    UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors

    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194

    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  7. Ghislo

    Ghislo

    Joined:
    Dec 4, 2015
    Posts:
    9
    Started getting similar errors on Unity 2019.1.10f1 as soon as I tried building 64bit android builds with il2ccp enabled..
     

    Attached Files:

  8. andreimitrica4

    andreimitrica4

    Joined:
    Jul 11, 2019
    Posts:
    16
    download ndk r16b and try again
     
    Germes and Ghislo like this.
  9. Ghislo

    Ghislo

    Joined:
    Dec 4, 2015
    Posts:
    9
    Thank you so much, that worked for me.
     
  10. Germes

    Germes

    Joined:
    Oct 27, 2016
    Posts:
    5
    It's fixed my problem too. Thanks