Questions tagged [ndk-build]

Android NDK's shell script for building C and C++ source code. The tag is to be used with the [android-ndk] tag.

ndk-build is a shell script of Android NDK for building C and C++ source code. Internally, ndk-build uses tool.

The tag is to be used either with or tags.

379 questions
-1
votes
2 answers

Android Studio NDK being incompatible though having been set properly

I am trying to integrate OpenCv with android studio and in the process NDK issues are being faced by me . The NDK always remains unselected in the Project Structure.The header files always remain unavailable because the path get unmentioned . I am…
Karunesh Palekar
  • 2,190
  • 1
  • 9
  • 18
-1
votes
2 answers

Linking static c libraries and getting error recompile with -fPIC

Getting a lot of "undefined reference to" errors. What I am missing in my CMakeLists.txt? Am I not linking the library properly? native-lib should be linked to liblept.a and libtesseract.a libraries which I am thinking is not being linked to these…
Mushahid Gillani
  • 723
  • 7
  • 19
-1
votes
2 answers

'va_start' used in function with fixed args error

My nullPointcheck function: template bool __nullPointCheck(T first, Args... args) { bool ret = true; va_list vl; auto n = sizeof...(args); va_start(vl, n); for (auto i = 0; i <= n; ++i) { …
rontgen
  • 81
  • 1
  • 9
-2
votes
1 answer

Why is it tough to find a dummy .so file online?

I need a dummy .so file in order to call it's functions in android. The dummy .so file could be anything from doing addition, subtraction, etc. When searched online, All I find is "What is .so file?", "How to integrate .so file in android". Can…
1 2 3
25
26