Coder Social home page Coder Social logo

mrzhaozhirong / blogapp Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 28.0 36.83 MB

志哥博客《OpenGL.ES在Android上的简单实践》《NDK学习笔记》专栏demo工程

Home Page: https://blog.csdn.net/a360940265a

CMake 0.38% C++ 12.76% Java 16.05% GLSL 0.07% C 70.63% Objective-C 0.11%

blogapp's People

Contributors

mrzhaozhirong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

blogapp's Issues

录制黑屏

按住按钮 松开时 查看文件播放黑屏 华为mate9

Camke编译报错

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版本

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.