AgoraIO/Advanced-Interactive-Broadcasting

IAgoraMediaEngine.h missing - Build failed

Closed this issue · 1 comments

Build command failed.
Error while executing process C:\Users\shrad\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\shrad\Desktop\Advanced-Interactive-Broadcasting\Client-Side-AV-Capturing\Agora-client-side-AV-capturing-for-streaming-Android\app\src\main\cpp\Android.mk NDK_APPLICATION_MK=C:\Users\shrad\Desktop\Advanced-Interactive-Broadcasting\Client-Side-AV-Capturing\Agora-client-side-AV-capturing-for-streaming-Android\app\src\main\cpp\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=C:/Users/shrad/Desktop/Advanced-Interactive-Broadcasting/Client-Side-AV-Capturing/Agora-client-side-AV-capturing-for-streaming-Android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\shrad\Desktop\Advanced-Interactive-Broadcasting\Client-Side-AV-Capturing\Agora-client-side-AV-capturing-for-streaming-Android\app\build\intermediates\ndkBuild\debug\lib NDK_APPLICATION_MK:=src/main/cpp/Application.mk C:/Users/shrad/Desktop/Advanced-Interactive-Broadcasting/Client-Side-AV-Capturing/Agora-client-side-AV-capturing-for-streaming-Android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libapm-plugin-audio-video-preprocessing.so}
[armeabi-v7a] Compile++ thumb: apm-plugin-audio-video-preprocessing <= audio_video_preprocessing_plugin_jni.cpp

C:/Users/shrad/Desktop/Advanced-Interactive-Broadcasting/Client-Side-AV-Capturing/Agora-client-side-AV-capturing-for-streaming-Android/app/src/main/cpp/audio_video_preprocessing_plugin_jni.cpp:9:10: fatal error: '../include/agora/IAgoraMediaEngine.h' file not found
#include "../include/agora/IAgoraMediaEngine.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [C:/Users/shrad/Desktop/Advanced-Interactive-Broadcasting/Client-Side-AV-Capturing/Agora-client-side-AV-capturing-for-streaming-Android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs/apm-plugin-audio-video-preprocessing/audio_video_preprocessing_plugin_jni.o] Error 1

Fixed my problem.