Coder Social home page Coder Social logo

Comments (13)

karastojko avatar karastojko commented on May 28, 2024

Did you fetch mailio from Vcpkg or from Github?

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

I installed mailio with vcpkg, in the instructions it said it was an option.

from mailio.

karastojko avatar karastojko commented on May 28, 2024

It is the option. I recall there was a problem on Windows with linking, it was fixed by exporting the needed types, content_type was one of them.
So, your version is 0.21.0 which is the latest on Vcpkg?

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

Not gonna lie, i have to find out how to see vcpkg version. Also i m not sure what "it was fixed by exporting the needed types" means. Is it something that i have to do? . (I am extremely grateful for the responses btw)

from mailio.

karastojko avatar karastojko commented on May 28, 2024

I mean mailio 0.21.0, not Vcpkg.
By exporting I mean: does your version of mime.hpp has the MAILIO_EXPORT like here ? It's required on Windows, Unix systems do not need it.

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

I checked mailio version and it says "0.20.0#1", so there is that. Also in my mime.hpp i see MAILIO_EXPORT class like in your link, but i dont see MAILIO_EXPORT struct in it. (I uninstalled and reinstalled mailio today, how do i get 0.21.0 version? I just did ./vcpkg upgrade mailio:x64-windows and i still says "0.20.0#1")

from mailio.

karastojko avatar karastojko commented on May 28, 2024

I have just installed mailio by Vcpkg from scratch and I have the version 0.21.0 (can be seen within the file version.hpp). You are getting the version 0.20.0?

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

Yes, in my version.hpp it says:

#define MAILIO_VERSION_MAJOR 0
#define MAILIO_VERSION_MINOR 20
#define MAILIO_VERSION_PATCH 0

And i reinstalled today and did update package (if i did it right), but still got 0.20.0#1 (not sure what that #1 is but its there).

from mailio.

karastojko avatar karastojko commented on May 28, 2024

I did with Vcpkg on both Windows and Linux, the version 0.21.0 is taken. I have no explanation what is going on your setup. Maybe you could try to pull from Github and compile with Cmake.

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

I have only heard of Cmake, not sure what it is or does. Any other way to install, manually maybe? (My platform toolset is "vsisual studio 2019 (v142)", could that be a problem?)

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

OK OK FIXED IT. I did a git pull and re-run the bootstrap-vcpkg.bat file, but this time (magically) mailio has the right version. Nothing was wrong with the library. Thanks a lot for the help (like im actually grateful).

from mailio.

karastojko avatar karastojko commented on May 28, 2024

Good to hear. If the linker error disappears now, then I guess the issue can be closed.

from mailio.

boomer11111111 avatar boomer11111111 commented on May 28, 2024

Yes yes close it.

from mailio.

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.