Code Monkey home page Code Monkey logo

Comments (13)

yourWaifu avatar yourWaifu commented on August 17, 2024

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.

kieran-github avatar kieran-github commented on August 17, 2024

@yourWaifu Are you referring to the obj file? i see a sleepy_discord.pdb in sleepy_discord/debug

from sleepy-discord.

yourWaifu avatar yourWaifu commented on August 17, 2024

It should be a .lib file after a successful compile of the library.

from sleepy-discord.

kieran-github avatar kieran-github commented on August 17, 2024

I did a debug compile does this matter? Or do I knew to re-compile as release

from sleepy-discord.

yourWaifu avatar yourWaifu commented on August 17, 2024

By default, compiling with the release configuration will compile to sleepy_discord/release

from sleepy-discord.

kieran-github avatar kieran-github commented on August 17, 2024

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.

yourWaifu avatar yourWaifu commented on August 17, 2024

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.

kieran-github avatar kieran-github commented on August 17, 2024

Its working now, however now i'm having issues with libcurl.lib, following the link on your website to include it

from sleepy-discord.

yourWaifu avatar yourWaifu commented on August 17, 2024

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.

kieran-github avatar kieran-github commented on August 17, 2024

Ive used the python script so i have it in the opt folder. Do I just need to link it then?

from sleepy-discord.

kieran-github avatar kieran-github commented on August 17, 2024

If so how do i initialize the vc enviroment variables for vs 2017 cant find vcvars32.bat

from sleepy-discord.

yourWaifu avatar yourWaifu commented on August 17, 2024

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.

Tomentos avatar Tomentos commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.