Skip to content

MaceEngineConfig destructor problem #1

@serviceberry3

Description

@serviceberry3

Hi,

Thanks so much for this tutorial! I'm currently trying to build my Android project after creating my native code library (I named mine mace_engine.cpp instead of your native-lib.cpp) and configuring CMake. Everything seems to build, but I'm getting
../../../../src/main/cpp/mace_engine.cpp:111: error: undefined reference to 'mace::MaceEngineConfig::~MaceEngineConfig()' (111 is where the loadModel() function ends) when I try to run a build in Android Studio. It seems to find an issue destructing the instance of MaceEngineConfig that we create. I noticed that this destructor was set to default in libmace/mace.cc. Any ideas?

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions