Skip to content

Cannot build self app with lib #242

@d4rkd3n1337

Description

@d4rkd3n1337

Hi, i am new to CMake, but I can compiled that.

I create self app, and include "C:\path_to_sleepy_discord\include" and "C:\path_to_sleepy_discord\include\IncludeNonexistent".
Also linking a static lib - "C:\path_to_sleepy_discord\Release" - sleepy-discord.lib

But if I am trying to compile, I have next error: unresolvered external symbol "public: static class SleepyDiscord::GenericSession * (__cdecl* SleepyDiscord::CustomSession::init)(void)" (?init@CustomSession@SleepyDiscord@@2Q6APEAVGenericSession@2@XZEA).

How I can solve it?

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