Giter Site home page Giter Site logo

martellz / cctag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oppenfuture/cctag

0.0 0.0 0.0 44.77 MB

Detection of CCTag markers made up of concentric circles.

Home Page: http://alicevision.github.io

License: Mozilla Public License 2.0

CMake 5.71% Shell 0.31% C++ 70.59% C 0.50% Cuda 22.28% Perl 0.29% Dockerfile 0.23% Python 0.11%

cctag's Introduction

Conan create

Create a cctag/1.0.1@zyf/testing for android.

export ANDROID_NDK=/home/zyf/Android/Sdk/ndk/22.1.7171670  # change to your own NDK path
NDK=$ANDROID_NDK/build/cmake/android.toolchain.cmake conan create . zyf/testing -b missing \
-s os=Android -s os.api_level=30 -s arch=armv8 -s compiler=clang -s compiler.version=11 -s compiler.libcxx=c++_shared

Possible problems

1.ERROR: The xxx (e.g. 'jbig/20160605') package has 'exports_sources' but sources not found in local cache. conan remove jbig/20160605 conan install jbig/20160605@

Changes

1.change boost:header_only from False to True If False, there are wired errors:

libs/context/src/asm/make_arm64_aapcs_elf_gas.S:61:5: error: unknown use of instruction mnemonic without a size suffix
    and x0, x0, ~0xF
    ^
libs/context/src/asm/make_arm64_aapcs_elf_gas.S:64:17: error: unknown token in expression
    sub x0, x0, #0xb0
                ^
libs/context/src/asm/make_arm64_aapcs_elf_gas.S:68:16: error: expected ']' in brackets expression<br>
    str x2, [x0, #0xa0]
               ^
libs/context/src/asm/make_arm64_aapcs_elf_gas.S:72:5: error: invalid instruction mnemonic 'adr'<br>
    adr x1, finish
    ^
libs/context/src/asm/make_arm64_aapcs_elf_gas.S:73:16: error: expected ']' in brackets expression<br>
    str x1, [x0, #0x98]
...

2.Comment BOOST_REQUIRED_COMPONENTS parts in CMakeLists.txt If False, there are errors:
CMake Error at FindBoost.cmake:6 (message):
  Conan: Component 'atomic' NOT found in package 'Boost'
Call Stack (most recent call first):
  FindBoost.cmake:91 (conan_message)
  CMakeLists.txt:90 (find_package)

3.change opencv/4.1.2@oppen/testing to opencv/4.1.2 cmake errors like: Could NOT find JPEG, TIFF, Jasper... After setting their options to False in conanfile.py of opencv, errors will be:
/home/zyf/.conan/data/opencv/4.1.2/oppen/testing/build/42958629fa7ebf896be49380f745528e5b2b5040/source_subfolder/modules/core/src/check.cpp:62:23: error: implicit instantiation of undefined template 'std::__ndk1::basic_stringstream<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>'
    std::stringstream ss;
                      ^
/home/zyf/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/c++/v1/iosfwd:139:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_stringstream;

I don't know how to fix them. Using opencv/4.1.2 will pass successfully.

cctag's People

Contributors

lcalvet avatar simogasp avatar fabiencastan avatar fcastan avatar yann-lty avatar jakobwilm avatar nrondaud avatar chubei-oppen avatar martellz avatar haavares avatar shauidu avatar

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.