Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Burst NDK Clang Linker Error

Discussion in 'Linux' started by JooleanLogic, Jan 19, 2023.

  1. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    I get the above linker error when trying to compile to android with burst.
    It's failing on calls to the files clang and clang++ both of which are just wrapper files for a call to clang-12 which is the actual executable.
    It's failing because if you execute clang or clang++, it can't actually find clang-12 even though it's in the same folder.
    Is there some environment variable that needs to be set to put this folder in a visible path?

    I resolved this by changing clang and clang++ to symlinks to clang-12 instead but I'd like to know why it's not working straight out of the box. It's a clean 2022.2.1f1 install using the hub installed addons for android sdk/ndk/java.
    Linux Mint 20.2