Errors Generated when Building IL2CPP

I have been having the same issues every time I try to build a project with IL2CPP. When I try to build, I end up getting hundreds of errors, but they all look to be the same thing.

I will include two of the errors below. Can anyone help me fix this? I am relatively new to this, so this issue has me thoroughly stuck. I can include more information/errors if needed.

Error:

Building Library\Bee\artifacts\Android\d8kzr\h82k_efinitions.o failed with output:
In file included from C:/Users/DevanKo/Documents/Unity Projects/VR Skid Build/Library/Bee/artifacts/Android/il2cppOutput/cpp/Il2CppGenericInstDefinitions.c:1:
In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp/pch\pch-c.h:3:
C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\il2cpp\libil2cpp\il2cpp-config.h(3,10): warning: non-portable path to file ‘<String.h>’; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include <string.h>
^~~~~~~~~~
<String.h>
In file included from C:/Users/DevanKo/Documents/Unity Projects/VR Skid Build/Library/Bee/artifacts/Android/il2cppOutput/cpp/Il2CppGenericInstDefinitions.c:1:
In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp/pch\pch-c.h:3:
In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp\il2cpp-config.h:3:
C:\Users\DevanKo\Documents\Unity Projects\VR Skid Build\Library\Bee\artifacts\Android\il2cppOutput\cpp\string.h(4,10): fatal error: ‘string’ file not found
#include
^~~~~~~~
1 warning and 1 error generated.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Error:

Building Library\Bee\artifacts\Android\d8kzr\hnkm_Generics18.o failed with output:

In file included from C:/Users/DevanKo/Documents/Unity Projects/VR Skid Build/Library/Bee/artifacts/Android/il2cppOutput/cpp/Generics18.cpp:1:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp/pch\pch-cpp.hpp:3:

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\il2cpp\libil2cpp\il2cpp-config.h(3,10): warning: non-portable path to file ‘<String.h>’; specified path differs in case from file name on disk [-Wnonportable-include-path]

#include <string.h>

^~~~~~~~~~

<String.h>

In file included from C:/Users/DevanKo/Documents/Unity Projects/VR Skid Build/Library/Bee/artifacts/Android/il2cppOutput/cpp/Generics18.cpp:1:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp/pch\pch-cpp.hpp:3:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/il2cpp/libil2cpp\il2cpp-config.h:3:

In file included from C:/Users/DevanKo/Documents/Unity Projects/VR Skid Build/Library/Bee/artifacts/Android/il2cppOutput/cpp\string.h:4:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/…/sysroot/usr/include/c++/v1\string:504:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/…/sysroot/usr/include/c++/v1\string_view:175:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/…/sysroot/usr/include/c++/v1__string:56:

In file included from C:/Program Files/Unity/Hub/Editor/2021.3.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/…/sysroot/usr/include/c++/v1\algorithm:641:

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(69,9): error: no member named ‘memcpy’ in the global namespace

using ::memcpy;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(70,9): error: no member named ‘memmove’ in the global namespace

using ::memmove;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(71,9): error: no member named ‘strcpy’ in the global namespace

using ::strcpy;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(72,9): error: no member named ‘strncpy’ in the global namespace

using ::strncpy;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(73,9): error: no member named ‘strcat’ in the global namespace

using ::strcat;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(74,9): error: no member named ‘strncat’ in the global namespace

using ::strncat;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(75,9): error: no member named ‘memcmp’ in the global namespace

using ::memcmp;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(76,9): error: no member named ‘strcmp’ in the global namespace

using ::strcmp;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(77,9): error: no member named ‘strncmp’ in the global namespace

using ::strncmp;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(78,9): error: no member named ‘strcoll’ in the global namespace

using ::strcoll;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(79,9): error: no member named ‘strxfrm’ in the global namespace

using ::strxfrm;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(80,9): error: no member named ‘memchr’ in the global namespace

using ::memchr;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(81,9): error: no member named ‘strchr’ in the global namespace

using ::strchr;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(82,9): error: no member named ‘strcspn’ in the global namespace

using ::strcspn;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(83,9): error: no member named ‘strpbrk’ in the global namespace

using ::strpbrk;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(84,9): error: no member named ‘strrchr’ in the global namespace

using ::strrchr;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(85,9): error: no member named ‘strspn’ in the global namespace

using ::strspn;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(86,9): error: no member named ‘strstr’ in the global namespace

using ::strstr;

~~^

C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\c++\v1\cstring(88,9): error: no member named ‘strtok’ in the global namespace

using ::strtok;

~~^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

1 warning and 20 errors generated.

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

I would reinstall Unity completely for starters. If you already have tried that you might want to file a bugreport

Same problem, I noticed that by removing the manifest it works..

I'm experiencing this exact issue. Which manifest are you referring to?

The Android Manifest