Skip to content

Error LNK2019 while compiling a .dll project #5

@chinchichilla

Description

@chinchichilla

I want to make a .dll file using this addon of the OpenFramework but I have this error when compiling it in debug mod with Visual Studio 2019 in C++ 17.

LNK2019 extern symbol non resolved "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Poco::DigestEngine::digestToHex(class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned __int64)" (?digestToHex@DigestEngine@Poco@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@4@_K@Z) referenced in function "public: bool __cdecl ofxPJControl::sendPJLinkCommand(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?sendPJLinkCommand@ofxPJControl@@QEAA_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) PJlinkCHOP C:\Libs\of_v0.12.0_vs_release\apps\myApps\PJlinkCHOP\ofxPJControl.obj 1

I already have entered the path of PocoFoundationmdd.lib in Library Directories and call it in Additional Dependencies, but when I remove those parameters the same error appears...

Any clues of what it could be ? thanks you all.

PS: I already tried to clean and regenerate the project and the solution.

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