Android Build error

Hey Guys,

I am currently trying to build our VR simulation for standalone.

The problem is that we are using a third-party plugin that uses an external library.so file.

Everything builds fine for Windows but when I try to build for Android i get the following error:

ld.lld: error: cannot open C:/Users/momos/Desktop/Repos/Immerzed/VRTW/Plugins/PulsePhysiologyEngine/Source/ThirdParty/PulseSDK/Lib/Android/arm64-v8a: Is a directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

In the PulseEngine.Build.cs I am doing the following:

string PlatformString = "Android";

PublicAdditionalLibraries.Add(Path.Combine(LibraryPath, PlatformString, "arm64-v8a", "Pulse.so"));

I tried starting the building process from cmd so that I can add the flag -v but I need this flag to be passed down to the clang++ call but just can’t find any documentation on how to do that.

I am building with the Project Launcher and using a custom Launch Profile where I tried to add the -v flag to Additional Command Line Arguments in the section Build/Advanced Settings but nothing seems to work.

If I forgot any information or you need more info to help me just write a message and I will try to quickly add the missing info.

I don’t know any other way at the moment and would be delighted if somebody could help.

Kind regards and thanks in advance
Maurice

1 Like