Giter VIP home page Giter VIP logo

Comments (6)

uricamic avatar uricamic commented on June 16, 2024

Hi @tsangz189,

yep RapidXML is necessary, as models are stored in XML files. OpenCV is not needed at all, it is used just in examples.
I think you might get inspired in the CMakeLists.txt files, there you see what header and source files are needed where.

I am not very familiar with Android app development. But if it supports native c++, you might even use the CLandmark in the form of dynamically linked precompiled library?

from clandmark.

tsangz189 avatar tsangz189 commented on June 16, 2024

When built successfully, I have two static lib (libclandmark & libflandmark). Should I import both of them?

from clandmark.

uricamic avatar uricamic commented on June 16, 2024

Yep, both are required. You can also build them dynamically, just change BUILD_SHARED_LIBS CMake settings.

from clandmark.

tsangz189 avatar tsangz189 commented on June 16, 2024

I tried to build the lib using android ndk. An error apprears:
'clandmark::CDAGMaxSumSolver' must explicitly initialize the base class 'clandmark::CMaxSumSolver' which does not have a default constructor?

from clandmark.

uricamic avatar uricamic commented on June 16, 2024

Hmm, looks like some construct are not supported by the compiler anymore...
I will try to look at this over weekend.

In the meanwhile, you might try to write a simple workaround for now, by creating that empty constructor which is missing.

from clandmark.

tsangz189 avatar tsangz189 commented on June 16, 2024

Yes, it's very weird. I can build and run using Cmake, but with ndk-build of Android, it shows that error. Thank you for your time

from clandmark.

Related Issues (20)

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.