jni
幸福专买店
喜欢处理解决bug,较强的学习能力
展开
-
c语言调用so库函数并生成可执行文件
Cat.c int add(int a,int b){ return a + b; } 生成so gcc -fPIC -shared cat.c -o libcat.so main.c #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> typedef int(* Add)(int, int)...原创 2018-05-07 18:01:48 · 2086 阅读 · 0 评论 -
android导入老项目出现的问题和解决办法
1、运行项目出现下列错误Error: Your project contains C++ files but it is not using a supported native build system.Consider using CMake or ndk-build integration. For more information, go to:https://d.android...原创 2019-04-15 17:36:01 · 1004 阅读 · 0 评论 -
编译 ffmpeg4.1.2+fdkaac+opus+mp3lame+x264+x265+libyasm+vpx
编译 ffmpeg4.1.2+fdkaac+opus+mp3lame+x264+x265+libyasm+vpx下面是编译步骤https://ffmpeg.org/releases/https://trac.ffmpeg.org/wiki/CompilationGuide/Centoshttps://trac.ffmpeg.org/wiki/CompilationGuide/m...原创 2019-04-19 14:42:30 · 657 阅读 · 0 评论