Search Unity

(fixed) IL2CPP for Linux? 64 bit Android

Discussion in 'Linux' started by CrandellWS, May 27, 2019.

  1. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    guilhermecorintho likes this.
  2. guilhermecorintho

    guilhermecorintho

    Joined:
    Sep 24, 2017
    Posts:
    11
    Last edited: May 27, 2019
  3. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    It errors out all the way up to 2019.3.0a3

    and a .exe file like il2cpp.exe is not gonna run on my system.

    Code (csharp):
    1.  
    2. stdout:
    3. Building libil2cpp.so with AndroidToolChain
    4.     Output directory: /media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a
    5.     Cache directory: /media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Library/il2cpp_android_armeabi-v7a/il2cpp_cache
    6. il2cpp.exe didn't catch exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: ApplicationName='/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang', CommandLine='-DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/xxHash" -I"/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput" -I"." -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include/backward" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot" -gcc-toolchain "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64" -target armv7-none-linux-androideabi -isystem "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput/Il2CppMetadataUsage.c" -o "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7B3B2ABD9E0393128E4544C00806B689.o"', CurrentDirectory='', Native error= Access denied
    7.  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <d465e2b2e5054d2787d6364114c43446>:0
    8.  at System.Diagnostics.Process.Start () [0x0003a] in <d465e2b2e5054d2787d6364114c43446>:0
    9.  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    10.  at Unity.IL2CPP.Shell.Execute (Unity.IL2CPP.Shell+ExecuteArgs executeArgs, Unity.IL2CPP.Shell+IExecuteController controller) [0x000d6] in <ff0c54daaebd431d98e452b9ed9ec2ce>:0
    11.  at Unity.IL2CPP.Building.BuildShell.Execute (Unity.IL2CPP.Shell+ExecuteArgs args) [0x00027] in <21540f549bf5468a9074753b4520bc31>:0
    12.  at Unity.IL2CPP.Building.CompilationInvocation.Execute () [0x00007] in <21540f549bf5468a9074753b4520bc31>:0
    13.  at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.IntermediateObjectFileCompilationData data) [0x00053] in <21540f549bf5468a9074753b4520bc31>:0
    14.  at Unity.IL2CPP.Building.ParallelFor+<RunWithResult>c__AnonStorey1`2[D,T].<>m__0 (System.Object o) [0x00032] in <21540f549bf5468a9074753b4520bc31>:0
    15.   --- End of inner exception stack trace ---
    16.  at Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T] (D[] data, System.Func`2[T,TResult] action) [0x00118] in <21540f549bf5468a9074753b4520bc31>:0
    17.  at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles (System.Collections.Generic.IEnumerable`1[T] sourceFilesToCompile, Unity.IL2CPP.Building.Statistics.IBuildStatisticsCollector statisticsCollector) [0x0015b] in <21540f549bf5468a9074753b4520bc31>:0
    18.  at Unity.IL2CPP.Building.CppProgramBuilder.Build (Unity.IL2CPP.Building.Statistics.IBuildStatistics& statistics) [0x00201] in <21540f549bf5468a9074753b4520bc31>:0
    19.  at Unity.IL2CPP.Building.Statistics.BuildingTestRunnerHelper.BuildAndLogStatsForTestRunner (Unity.IL2CPP.Building.CppProgramBuilder builder, Unity.IL2CPP.Building.Statistics.IBuildStatistics& statistics) [0x00001] in <21540f549bf5468a9074753b4520bc31>:0
    20.  at il2cpp.Program.DoRun (System.String[] args) [0x006d0] in <afd23374e21a40e0b5a90b8af36698e0>:0
    21.  at il2cpp.Program.Run (System.String[] args) [0x00020] in <afd23374e21a40e0b5a90b8af36698e0>:0
    22.  at il2cpp.Program.Main (System.String[] args) [0x00002] in <afd23374e21a40e0b5a90b8af36698e0>:0
    23. ---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang', CommandLine='-DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/xxHash" -I"/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput" -I"." -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include/backward" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot" -gcc-toolchain "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64" -target armv7-none-linux-androideabi -isystem "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput/Il2CppMetadataUsage.c" -o "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7B3B2ABD9E0393128E4544C00806B689.o"', CurrentDirectory='', Native error= Access denied
    24.  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <d465e2b2e5054d2787d6364114c43446>:0
    25.  at System.Diagnostics.Process.Start () [0x0003a] in <d465e2b2e5054d2787d6364114c43446>:0
    26.  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    27.  at Unity.IL2CPP.Shell.Execute (Unity.IL2CPP.Shell+ExecuteArgs executeArgs, Unity.IL2CPP.Shell+IExecuteController controller) [0x000d6] in <ff0c54daaebd431d98e452b9ed9ec2ce>:0
    28.  at Unity.IL2CPP.Building.BuildShell.Execute (Unity.IL2CPP.Shell+ExecuteArgs args) [0x00027] in <21540f549bf5468a9074753b4520bc31>:0
    29.  at Unity.IL2CPP.Building.CompilationInvocation.Execute () [0x00007] in <21540f549bf5468a9074753b4520bc31>:0
    30.  at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.IntermediateObjectFileCompilationData data) [0x00053] in <21540f549bf5468a9074753b4520bc31>:0
    31.  at Unity.IL2CPP.Building.ParallelFor+<RunWithResult>c__AnonStorey1`2[D,T].<>m__0 (System.Object o) [0x00032] in <21540f549bf5468a9074753b4520bc31>:0 <---
    32.  
    33. ---> (Inner Exception #1) System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang', CommandLine='-DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/xxHash" -I"/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput" -I"." -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include/backward" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot" -gcc-toolchain "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64" -target armv7-none-linux-androideabi -isystem "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput/Il2CppTypeDefinitions.c" -o "/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A6C6DE3E2CDCB676E73FC00689F96D3B.o"', CurrentDirectory='', Native error= Access denied
    34.  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <d465e2b2e5054d2787d6364114c43446>:0
    35.  at System.Diagnostics.Process.Start () [0x0003a] in <d465e2b2e5054d2787d6364114c43446>:0
    36.  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    37.  at Unity.IL2CPP.Shell.Execute (Unity.IL2CPP.Shell+ExecuteArgs executeArgs, Unity.IL2CPP.Shell+IExecuteController controller) [0x000d6] in <ff0c54daaebd431d98e452b9ed9ec2ce>:0
    38.  at Unity.IL2CPP.Building.BuildShell.Execute (Unity.IL2CPP.Shell+ExecuteArgs args) [0x00027] in <21540f549bf5468a9074753b4520bc31>:0
    39.  at Unity.IL2CPP.Building.CompilationInvocation.Execute () [0x00007] in <21540f549bf5468a9074753b4520bc31>:0
    40.  at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.IntermediateObjectFileCompilationData data) [0x00053] in <21540f549bf5468a9074753b4520bc31>:0
    41.  at Unity.IL2CPP.Building.ParallelFor+<RunWithResult>c__AnonStorey1`2[D,T].<>m__0 (System.Object o) [0x00032] in <21540f549bf5468a9074753b4520bc31>:0 <---
    42.  
    43. ---> (Inner Exception #2) System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++', CommandLine='-DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/libil2cpp" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/bdwgc/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/il2cpp/external/xxHash" -I"/media/crandellws/SecondDrive/OtherExtra/Unity3d/Blank/Temp/StagingArea/Il2Cpp/il2cppOutput" -I"." -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include/backward" -I"/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++11 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/sysroot" -gcc-toolchain "/home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64" -target<message truncated>
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    The fact that il2cpp.exe is named .exe is fine this case. The il2cpp.exe file is a managed executable, and runs via Mono. The .exe extension does not indicate that it is a Windows-only executable in this case.

    It looks like the error is related to the Android NDK installation. Specifically, il2cpp.exe is trying to run the Android C++ compiler located here:

    /home/crandellws/Unity/Hub/Editor/2019.3.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang

    The error indicates access is denied. Can you check this this is the proper location for your Android NDK installation, and that the user running the Unity editor has read access to this location?
     
    CrandellWS and guilhermecorintho like this.
  5. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    Well I'll be hot for no good reason...so thank you Josh you help me get it working. Strangely when I used the recommended setup and allow Unity Hub to download it and set it up it fails to work...Yet if I manually install the Android SDK and NDK to my system it works. hmmm.... something is wrong perhaps something in how I set things up or something I else I did but I doubt it as I try to make it as close to recommendation as possible.
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    I'm glad it is working now! I'm not sure how the Unity Hub recommends the installation. Really all you need to have is the SDK and the NDK in accessible locations.
     
  7. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    I've never been able to get this to work on linux. Can you make sense of this error? I get
    "unsupported ELF machine number 40" which I think is to do with ld.gold. It's printing the address /usr/bin/ld.gold instead of the one in the ndk folder but I don't know why.

     
  8. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    At least temporarily, can you try renaming /usr/bin/ld.gold? It does look like the clang++ version from the NDK is locating the system ld.gold instead of the one from the NDK. I'm not sure why that is the case, but renaming the system one might help determine why.
     
    CrandellWS likes this.
  9. capyvara

    capyvara

    Joined:
    Mar 11, 2010
    Posts:
    80
    Stealing the thread, there are any roadmap for IL2CPP compilation for Linux Standalone? It will be very useful to dedicated servers.
     
    _FLX likes this.
  10. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    Wow, after countless wasted hours revisiting this issue, finally solved it by just using old ndk off google. Thanks Crandell. I'm sure I've read somewhere that I needed to use the Unity ndk for it to work. I'd failed to get even the google one working in past but now it does.
    And now even burst on Android is working? Happiest day of my year. :)

    Thanks for suggestion Josh. Renaming ld.gold just resulted in "clang++: error: invalid linker name in argument '-fuse-ld=gold'".
    The ld.gold in /usr/bin/ is actually a symbolic link to x86_64-linux-gnu-ld.gold.
    Doesn't matter now though.
     
    CrandellWS likes this.
  11. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    upload_2019-6-3_16-4-46.png
    upload_2019-6-3_16-5-44.png
    upload_2019-6-3_16-6-26.png
    upload_2019-6-3_16-7-53.png
    upload_2019-6-3_16-14-20.png

    idk...
     
    omer_unity939 likes this.
  12. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    178
    Last edited: Jun 4, 2019
    unity_nIe1z6lclg7NUg likes this.
  13. monu98

    monu98

    Joined:
    Sep 7, 2020
    Posts:
    5
    hello guys,
    when i am upgrading my project from 2018.4.30f1 to 2020.3.12f1
    i am facing this error
    Exception: Failed running D:\unity_versions\Unity\Hub\Editor\Unity\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe @"D:/bingo world master gitlab/Temp/StagingArea/assets/bin/Data/Managed/response.rsp"

    Anyone know what this error is and how to solve this ?
    thank you
     
  14. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    This error seems unrelated to the rest of the content in this thread. Can you create a new thread to discuss this? Also, please include the full error message from the editor log file.
     
  15. monu98

    monu98

    Joined:
    Sep 7, 2020
    Posts:
    5
    Okay