Skip to main content
New Participant
December 8, 2022

Convert a .c Mobile OpenXR Sample to cpp c++ in Android Studio?

For example, Mobile OpenXR Samples has a XrCompositor_NativeActivity.c

How can I convert XrCompositor_NativeActivity.c to c++ and run the app successfully? I tried renaming the extension to .cpp, making changes to Android.mk, etc... but I keep running into errors.