Android NDK: using other C++ libraries -
i trying run existing c++ code in android application. have ndk set up, , have source files copied jni
folder in eclipse project.
my c++ files have includes , namespace uses come elsewhere though, , i'm unsure how import (install?) them android project.
code in c++ file:
#include <gvars3/instances.h> #include <toon/svd.h> #include <fstream> #include <stdlib.h> using namespace cvd; using namespace std; using namespace gvars3;
all of these libraries "unresolved inclusion". how can these libraries project?
thanks.
it not different usual way. can 1 of following:
- pull source , build single .so
- build other libraries separate .so files, , load them before own .so in android project (the order important)
Comments
Post a Comment