'ISurfaceComposer.h is missing in native android app
When i try to compile this sources
#include <jni.h>
#include <string>
#include <android/log.h>
#include <sys/types.h>
#include <iostream>
#include <gui/ISurfaceComposer.h>
#define LOGI(...) \
((void)__android_log_print(ANDROID_LOG_INFO, "screencast::", __VA_ARGS__))
extern "C" JNIEXPORT jstring JNICALL
Java_com_example_screencast_MainActivity_stringFromJNI(
JNIEnv* env,
jobject /* this */) {
std::string hello = "Hello from C++";
return env->NewStringUTF(hello.c_str());
}
this error appears: "fatal error: 'gui/ISurfaceComposer.h' file not found"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
