mrzhaozhirong / blogapp Goto Github PK
View Code? Open in Web Editor NEW志哥博客《OpenGL.ES在Android上的简单实践》《NDK学习笔记》专栏demo工程
Home Page: https://blog.csdn.net/a360940265a
志哥博客《OpenGL.ES在Android上的简单实践》《NDK学习笔记》专栏demo工程
Home Page: https://blog.csdn.net/a360940265a
按住按钮 松开时 查看文件播放黑屏 华为mate9
Error while executing process C:\Users\Administrator\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\.externalNativeBuild\cmake\debug\armeabi-v7a --target gpu-filter} [1/2] Building CXX object CMakeFiles/gpu-filter.dir/src/main/cpp/gpufilter/codec/CodecEncoder.cpp.o FAILED: C:\Users\Administrator\AppData\Local\Android\Sdk\ndk\16.1.4479499\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi --gcc-toolchain=C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sysroot -DWindows -Dgpu_filter_EXPORTS -isystem C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sources/cxx-stl/llvm-libc++/include -isystem C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sources/android/support/include -isystem C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sources/cxx-stl/llvm-libc++abi/include -isystem C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=26 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -mfpu=neon -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/gpu-filter.dir/src/main/cpp/gpufilter/codec/CodecEncoder.cpp.o -MF CMakeFiles\gpu-filter.dir\src\main\cpp\gpufilter\codec\CodecEncoder.cpp.o.d -o CMakeFiles/gpu-filter.dir/src/main/cpp/gpufilter/codec/CodecEncoder.cpp.o -c E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\src\main\cpp\gpufilter\codec\CodecEncoder.cpp E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\src\main\cpp\gpufilter\codec\CodecEncoder.cpp:310:90: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (isDebug) LOGE("unexpected result from encoder.dequeueOutputBuffer: " + status); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\src\main\cpp\gpufilter\codec/../../common/zzr_common.h:34:22: note: expanded from macro 'LOGE' "[%s][%d]: " format, __FILENAME__, __LINE__, ##__VA_ARGS__); ~~~~~~~~~~~~~^~~~~~ E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\src\main\cpp\gpufilter\codec\CodecEncoder.cpp:310:90: note: use array indexing to silence this warning E:\AndroidStudioJects\githubDemo\NativeCppApp-master\app\src\main\cpp\gpufilter\codec\CodecEncoder.cpp:323:34: error: use of undeclared identifier 'AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG'; did you mean 'AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM'? if (info.flags & AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM C:/Users/Administrator/AppData/Local/Android/Sdk/ndk/16.1.4479499/sysroot/usr/include\media/NdkMediaCodec.h:56:5: note: 'AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM' declared here AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM = 4, ^
我在下载编译你的代码时.Cmake一直报这个错误,好像是 camke的版本和Ndk的版本跟你的不一样导致的,可否提供一下你编译用的Ndk版本和cmake版本
为啥录制出来的视频播放时会闪烁?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.