Đã Đóng

Fix a Config issue in Gradle Studio or CMakeLists

I am trying to compile an Android Studio project that uses C++ openCV NDK. As seen below I am getting an error.

Build command failed.

Error while executing process C:\Eclipse\sdk\cmake\3.6.4111459\bin\[login to view URL] with arguments {--build K:\AndroidProjects\icm

FAILED: K:\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi --gcc-toolchain=K:/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=K:/NDK/sysroot -Dbiocore_EXPORTS -I../../../../src/main/headers -isystem K:/NDK/sources/cxx-stl/llvm-libc++/include -isystem K:/NDK/sources/android/support/include -isystem K:/NDK/sources/cxx-stl/llvm-libc++abi/include -isystem K:/NDK/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -fexceptions -std=c++17 -O0 -fno-limit-debug-info -fPIC -MD -MT

In file included from ../../../../src/main/headers\opencv2/core/[login to view URL]:

../../../../src/main/headers\opencv2/core/[login to view URL]:16: error: 'ext/atomicity.h' file not found with <angled> include; use "quotes" instead

#include <ext/atomicity.h>



In file included from K:\Git-Repository\iCheckmates Nabin mods - May 23 2018\iCheckMates\iCheckMates\biocore\src\main\cpp\iris_matcher\[login to view URL]:

In file included from K:\Git-Repository\iCheckmates Nabin mods - May 23 2018\iCheckMates\iCheckMates\biocore\src\main\cpp\iris_matcher/OsiCircle.h:12:

In file included from ../../../../src/main/headers\opencv2/core/[login to view URL]:

In file included from ../../../../src/main/headers\opencv2/core/[login to view URL]:

../../../../src/main/headers\opencv2/core/ext/atomicity.h:38:10: fatal error: 'bits/c++config.h' file not found

#include <bits/c++config.h>


2 errors generated.

There are several more of the same as above.

If you are familiar with CMake, CMakeLists, openCV within Gradle / Studio and "KNOW WHY" I am getting this error please get in touch.

I assume it is a config issue but I cannot fine it.

Kĩ năng: Android, OpenCV

Xem nhiều hơn: external native build issues android studio, android studio unable to cmake, gradle cmake, android studio externalnativebuild problem, android studio cmake version error, error:a problem occurred configuring project ':app'. > executing external native build for cmake, download cmake for android studio, error gradle project cmake path is cmakelists txt but that file doesn t exist, fix charting issue - need to work with ejs chart library, fix an issue, fix an issue on my wp website, image gallery fix small issue, fix permission issue uninstall joomla, javascript fix space issue, fix mail issue linux

Về Bên Thuê:
( 242 nhận xét ) Sydney, Australia

ID dự án: #17030955

3 freelancer đang chào giá trung bình $27 cho công việc này

$30 USD trong 1 ngày
(41 Nhận xét)

Hi Good day. As a senior mobile and Android developer, I am very interested in this job. I have 10 years experience with Android and Android studio. I am able to start now and can finish asap. Looking forward to Thêm

$25 USD trong 1 ngày
(4 Nhận xét)

Dear client I am native android expert, C++ expert. I have checked on your job, and came to the result that carry out the project. In before, i have developed ANPR using C++. And, I have developed many android app Thêm

$25 USD trong 1 ngày
(3 Nhận xét)