Skip to content

Link error when build with cmake #2

@AnnnSt

Description

@AnnnSt

Hi Keyple team

I am trying to fetch the keyple-cpp-meta repository and build in my local machine with windowns x86 environment using VSCode, but i face several linking error during the compilation of the cpp examples. Below is an example:
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __thiscall keyple::plugin::stub::StubPluginFactoryBuilder::Builder::~Builder(void)" (_imp??1Builder@StubPluginFactoryBuilder@stub@plugin@keyple@@QAE@XZ) referenced in function "public: void * __thiscall keyple::plugin::stub::StubPluginFactoryBuilder::Builder::`scalar deleting destructor'(unsigned int)" (??_GBuilder@StubPluginFactoryBuilder@stub@plugin@keyple@@QAEPAXI@Z) under project : UseCase1_ExplicitSelectionAid_Stub and file :Main_ExplicitSelectionAid_Stub.obj

the keyplepluginstubcpplib.lib has exported under build\externals\keyple-plugin-stub-cpp-lib\src\main\Debug, thus i may seek your help regarding the linking error.

Best regards
Ann

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions