build opencv in termux, when build opencv_waldboost_detector error in undefined reference to '__android_log_print' #2172
build opencv in termux, when build opencv_waldboost_detector error in undefined reference to '__android_log_print' #2172
Comments
if you don need that, then disable it here (comment or remove. Unfortunately, we don't have builds (or environment setup) with mentioned configuration so we can't help with problem investigation. Anyway, we can take a look on the clear reason of the problem and suggest some fix/workaround. |
for a temporary, i comment the CMakefile.txt
I think it's a bit different from waldboost, need another help.... |
We have never tried to build Android binaries on Android directly. This mode is just unsupported. Attach your CMakeCache.txt / CmakeVars.txt to initial post, may be community may help. Also put link on used tutorial if any. BTW, In general, changing of CMake options requires clean CMake's cache (clean build directory) to avoid undefined behavior from messing with previous CMake calls. |
sorry for late responses, it's too late last night. i use android on samsung tab S5e. i install termux and python (automaticly installed python version 3.7.3, when apt install python) like build_essential, tiff, jpeg library, etc, like build in linux, because i think termux is linux shell. btw, if i install anlinux on termux, i can install opencv without problem, but difficult to access the camera of my tablet. so my plan is install the opencv stright to termux to make easier acces camera with termux-am. ok, back to the problem, already try with option: the clue is i should have libcpufeatures.so on my system the last error code:
it already reach 100% process...just a litle bit more, it will installed on termux i think in the future, coding in linux on android device will be more popular. so i try to start it from now |
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采
wahyubram82 commented on 30 Jun 2019
i cannot build opencv in termux error when reach time to 'waldboost' part.
i copy the result with
make VERBOSE=1
, hope someone can told me how to fix it