Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Bug Please Help Unity 2022.2.12f1 Android OS Ubuntu 22.04 Error x86_64/bin/clang++: 1: clang: not found

Discussion in 'Editor & General Support' started by Irina-uk, Mar 24, 2023.

  1. Irina-uk

    Irina-uk

    Joined:
    Feb 14, 2014
    Posts:
    56
    Hi!
    I'm building a project for Android, a lot of errors related to

    Building Library/Bee/artifacts/Android/87lik/ojg0_stem2.lump.o failed with output:
    /home/jonsmith/Unity/Hub/Editor/2022.2.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: 1: clang: not found

    UnityEngine.GUIUtilityrocessEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

    fix up error - Install clang for ubuntu 22.04
    sudo apt-get -y install clang

    new 8 errors building for android

    Building Library/Bee/artifacts/Android/x6ly2/wmym_opy_encode.o failed with output:
    clang: error: no input files


    UnityEngine.GUIUtilityrocessEvent (int,intptr,bool&) (at

    Is there a solution? Thanks
     
    Last edited: Mar 24, 2023
    MadLeopard likes this.
  2. MadLeopard

    MadLeopard

    Joined:
    Sep 16, 2019
    Posts:
    1
    i'm facing the same problem here with Ubuntu 20.04 on Unity 2022.2.7f1, did you find a new solution Irina?
     
  3. jester74864

    jester74864

    Joined:
    Aug 2, 2018
    Posts:
    1
    For you guys or anyone in the future check out this and scroll down to PUZZLEPAINT's comment. If you're using windows the commands might be a little different, but its easy and worked like a charm ;-)

    Im using unity 2022.2.17 on Ubuntu 22.04