Comments (13)
I'd you compiled it correctly, it should have compiled to whatever you have the output folder set to. By default, this should be sleeply_discord/debug
from sleepy-discord.
@yourWaifu Are you referring to the obj file? i see a sleepy_discord.pdb in sleepy_discord/debug
from sleepy-discord.
It should be a .lib file after a successful compile of the library.
from sleepy-discord.
I did a debug compile does this matter? Or do I knew to re-compile as release
from sleepy-discord.
By default, compiling with the release configuration will compile to sleepy_discord/release
from sleepy-discord.
Ok sleepy_discord.lib is in yourWaifu-sleepy-discord-7af1ea3/Debug/sleepy_discord.lib... It's there I just don't understand why the linker is being stubborn. Could it be the name of my file?
from sleepy-discord.
The linker looks for files in the library directories or folders. You can set those in Visual Studio via the project properties.
from sleepy-discord.
Its working now, however now i'm having issues with libcurl.lib, following the link on your website to include it
from sleepy-discord.
Following how to link or how to compile? Following how to link tell you the details on how to get and link libcurl.
from sleepy-discord.
Ive used the python script so i have it in the opt folder. Do I just need to link it then?
from sleepy-discord.
If so how do i initialize the vc enviroment variables for vs 2017 cant find vcvars32.bat
from sleepy-discord.
I haven't figured out how to detect what version of visual studio you have via python, so the script can download libcurl for you but can't compile it for you.
You can find that file by reading this https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line#developer-command-files-and-locations the location is based on your version of visual studio.
from sleepy-discord.
I made the same mistake when I compiled the librarys.
If you are using the default installation folder for Visual Studio you will find vcvars32.bat in this folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
So after you opened cmd you navigate to that folder and launch vcvars32.bat
via cmd. Then navigate in the same cmd window to your sleepy discord library folder and then go to deps\cpr\opt\curl\winbuild
and then type nmake /f Makefile.vc mode=static VC=17
When it's done, close your cmd and navigate out of the winbuild
folder and into builds\libcurl-vc17-x86-release-dll-ipv6-sspi-winssl
copy the include
and lib
folder into the deps
folder.
In my case I still needed to move the libcurl.dll
from the bin
folder into the Solution Debug folder.
Try to follow the documentation correctly next time
from sleepy-discord.
Related Issues (20)
- How to reply to a message or mention the message author? HOT 4
- how to get user input? HOT 1
- Code error? HOT 3
- createChannel doesn't exsit, and createTextChannel gives errors on use. HOT 1
- [ASK] HOW TO REPLY A MESSAGE? HOT 1
- Issue 4 HOT 4
- LNK1181 cannot open input file 'cpr.lib' HOT 6
- Error 5002: Could not get the gateway HOT 8
- [ASK]sendMessage() HOT 1
- [ASK]How to receive modified messages
- Error 429 5005 HOT 3
- Why is there an error? HOT 2
- Conan support
- Is it possible to use only curl to perfome requests and etc without websocket and etc? HOT 3
- Cannot build for 3DS
- Error 5002: Could not get the gateway on Ubuntu
- Downloading via vcpkg HOT 2
- user-bot HOT 1
- SLEEPY_VCPKG confusion HOT 3
- ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sleepy-discord.