Git Product home page Git Product logo

hazeremove's People

Contributors

dongxiawu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

hazeremove's Issues

this project can not run on devices

Build dehaze-lib_armeabi-v7a
ninja: Entering directory `C:\Android\MyApplication\app.cxx\cmake\debug\armeabi-v7a'
[1/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/native-lib.cpp.o
../../../../src/main/cpp/source/native-lib.cpp:174:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[2/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/guidedfilter.cpp.o
[3/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/fastguidedfilter.cpp.o
[4/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/dehaze.cpp.o
[5/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/main.cpp.o
[6/6] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libdehaze-lib.so
FAILED: ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libdehaze-lib.so
cmd.exe /C "cd . && C:\Users\xqf\AppData\Local\Android\Sdk\ndk\21.1.6352462\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi16 --gcc-toolch
ain=C:/Users/xqf/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/xqf/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/pr
ebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a
-mthumb -Wformat -Werror=format-security -frtti -fexceptions -std=c++11 -frtti -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,
--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libdehaze-lib.
so -o ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libdehaze-lib.so CMakeFiles/dehaze-lib.dir/src/main/cpp/source/dehaze.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/sou
rce/fastguidedfilter.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/source/guidedfilter.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/source/main.cpp.o CMakeFiles/dehaze-lib.dir/src/main/
cpp/source/native-lib.cpp.o ../../../../src/main/jniLibs/armeabi-v7a/libopencv_java3.so -llog -latomic -lm && cd ."
../../../../src/main/cpp/source/main.cpp:62: error: undefined reference to 'cv::imwrite(cv::String const&, cv::_InputArray const&, std::__ndk1::vector<int, std::__ndk1::allocator

const&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Task :app:externalNativeBuildDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:externalNativeBuildDebug'.

Build command failed.
Error while executing process C:\Users\xqf\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C C:\Android\MyApplication\app.cxx\cmake\debug\armeabi-v7a d
ehaze-lib}
ninja: Entering directory `C:\Android\MyApplication\app.cxx\cmake\debug\armeabi-v7a'
[1/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/native-lib.cpp.o
../../../../src/main/cpp/source/native-lib.cpp:174:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[2/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/guidedfilter.cpp.o
[3/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/fastguidedfilter.cpp.o
[4/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/dehaze.cpp.o
[5/6] Building CXX object CMakeFiles/dehaze-lib.dir/src/main/cpp/source/main.cpp.o
[6/6] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libdehaze-lib.so
FAILED: ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libdehaze-lib.so
cmd.exe /C "cd . && C:\Users\xqf\AppData\Local\Android\Sdk\ndk\21.1.6352462\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi16 --gcc-tool
chain=C:/Users/xqf/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/xqf/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/
prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-
a -mthumb -Wformat -Werror=format-security -frtti -fexceptions -std=c++11 -frtti -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -W
l,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libdehaze-li
b.so -o ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libdehaze-lib.so CMakeFiles/dehaze-lib.dir/src/main/cpp/source/dehaze.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/s
ource/fastguidedfilter.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/source/guidedfilter.cpp.o CMakeFiles/dehaze-lib.dir/src/main/cpp/source/main.cpp.o CMakeFiles/dehaze-lib.dir/src/mai
n/cpp/source/native-lib.cpp.o ../../../../src/main/jniLibs/armeabi-v7a/libopencv_java3.so -llog -latomic -lm && cd ."
../../../../src/main/cpp/source/main.cpp:62: error: undefined reference to 'cv::imwrite(cv::String const&, cv::_InputArray const&, std::__ndk1::vector<int, std::__ndk1::allocator<int

const&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.