I have a custom plugin I built and it’s up and running for Windows, and I’m now trying to support a platform that requires a static plugin. I’m following the documentation and am attempting to build the plugin from source, however when I build I get the error:
Unity.IL2CPP.Building.BuilderFailedException: clang: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument] C:\Users\[FILEPATH]\Library\Il2cppBuildCache\Switch\il2cppOutput\[PLUGIN_NAME].cpp(10,10): fatal error: 'fmod.hpp' file not found #include "fmod.hpp" ^~~~~~~~~~ 1 error generated.
Including fmod.hpp from the api in the Unity project doesn’t clear the error. Is there a certain way I should be setting up my project to include fmod.hpp, or maybe do I need to organize my code in a different manner?