sleepy-discord
sleepy-discord copied to clipboard
Cannot build self app with lib
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?
What does your CMakeLists.txt file look like
I am use a default CMakeLists CMakeLists.txt
I'm asking for the one you wrote not the library's
Hello :3, I am use a MSVS, dont use a cmake
https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-160