sleepy-discord
sleepy-discord copied to clipboard
Problem with libcryptoMT.lib
I have this error: cannot open file "libcryptoMT.lib" When I'll link debs/lib folder, I have a lot of errors. What I should do?
Include Directories & Library Directories: D:\bot\yourWaifu-sleepy-discord-b6df33e\include D:\bot\yourWaifu-sleepy-discord-b6df33e\deps D:\bot\yourWaifu-sleepy-discord-b6df33e\deps\include D:\bot\yourWaifu-sleepy-discord-b6df33e\include\sleepy_discord\IncludeNonexistent D:\bot\yourWaifu-sleepy-discord-b6df33e\Release <- for sleepy_discord.h D:\bot\yourWaifu-sleepy-discord-b6df33e\deps\cpr\opt\curl\builds\libcurl-vc14-x86-release-static-ipv6-sspi-winssl\lib <- for libcurl_a.h
Ok, so I add libcryptoMT.lib to D:\bot\yourWaifu-sleepy-discord-b6df33e\deps\cpr\opt\curl\builds\libcurl-vc14-x86-release-static-ipv6-sspi-winssl\lib and worked, now I have problem with libsslMT.lib. When I add libsslMT.lib to D:\bot\yourWaifu-sleepy-discord-b6df33e\deps\cpr\opt\curl\builds\libcurl-vc14-x86-release-static-ipv6-sspi-winssl\lib again I have a lot of erros
can you give me the list of errors? I can't tell what's causing the issue without it, the error messages generally give me info that I would need to understand what went wrong.
It looks like you might want to recompile both sleepy_discord and libcurl. libcurl is missing some functions in it's lib file. sleepy_discord looks like it was compiled for release while GLaDOS was compiled for debug, which caused values to be different then what the linker expected.
So I need change debug to release?
this might help https://stackoverflow.com/questions/14714877/mismatch-detected-for-runtimelibrary
So I changed Runtime Library And I have now 140 errors and 174 warnings
this isn't all
Everything should have the same Runtime library value. I looked up some of your other errors and they also seem to be caused by mismatch.
sleepy_discord.vcxproj and glados.vcxproj have same runtime library. Now I have 44 errors.
try linking Wldap32.lib
and maybe Ws2_32.lib
Where's it? I can't find it in Sleepy discord.
I'm newby in Visual Studio so I don't know where is it.
it's a windows library, so I don't know, it should have been added the directory to your list of library directories through inherited values.
I already noticed that you are a noob at Visual Studio
I find it and I copied it to special folder. I linked it and I have now 151 errors and 1 warning.
you could just copy and paste the errors from output instead of using screenshot. Other then that, I'm starting to get a bit tired of this mess. Just DM me your files over on Discord and I'll tell you what's wrong and how to fix it here.
Ok. So if you want here's my discord tag: Username#1459
Instructions for DMing me are here in the 2nd sentence https://yourwaifu.github.io/sleepy-discord/documentation.html#a-warm-welcome join Discord API server https://discord.gg/discord-api and direct message Sleepy Flower Girl
I was able to compile it.
Ok, first of all, I noticed that the library directories on sleepy discord is all wrong and the include directories wasn't the same as the default. You can find the default values here https://github.com/yourWaifu/sleepy-discord/blob/master/sleepy_discord/sleepy_discord.vcxproj#L150
After fixing that, recompiled libcurl with VC=15, and copied it's lib file to deps/lib. Next I tried compiling hello, by first adding wldap32.lib and Normaliz.lib to the list of additional dependencies. Compile was successful moving on to GLaDOS.
I noticed that the code was basically the same as hello so I just followed the instructions on my guide but added wldap32.lib and Normaliz.lib to the list of additional dependencies.