Android 开发中C++链接C库
https://groups.google.com/forum/?fromgroups#!topic/android-ndk/UT1boSyJgdAIf you linked C library in C++ code, use extern "C"{ } to surround the #include directives.i.e.extern "C" { #include "a.h" //a.h is the head file for the C library}
页:
[1]