14
n3xus
5y

FUCK OPENSSL. I LOVE IT AND HATE IT SO FUCKING MUCH. WORK FASTER AND BE LESS CONFUSING SO I CAN BRAG ABOUT MY PRETTY ENCRYPTION CODE SOONER. FUCK

Comments
  • 5
    "Oh, so you wanna include OpenSSL in your Windows c++ project huh? Well well well, isn't that funny?"
  • 3
    @endor oh it's so fucking annoying. I want to literally kill myself.
  • 3
    Looks like someone didn’t RTFM.

    http://php.net/manual/en/...
  • 1
    @C0D4 nah young man this is the c++ part. PHP is ezpz and works like a charm. So does the c# client. C++ is just a cactus up the ass
  • 4
    @n3xus 😅 I don’t know how I missed that tag.

    @C0D4 needs more coffee and less code this morning.
  • 2
    @n3xus looks like you need a compiled .lib to add in your project include settings.
    Do you have a compiled version of the library already? I gave up trying to compile my own from scratch, and I found a precompiled package from the official Ruby (the language) dependencies automatic builds.
  • 2
    @endor literally just got it as you said that thanks :). C++ lib management is a nightmare on windows.
  • 1
    @endor and you can snag it on mingw which is pretty simple
  • 2
    @n3xus it is indeed :(
  • 3
    @endor @C0D4 is it just me or does every encryption solution have a language it works great and simply on and just sucks for every other language?
  • 2
    @n3xus oh cool, I tried messing with mingw but couldn't figure out what I had to do exactly, so eventually went with that other method.

    Idk, I think I tried working with openssl on python once, but don't recall much of it. This is the first time I'm using it as a dependency in a cpp project, and I've had to bash my head against it for a full day before finding a workaround :/
  • 4
    @n3xus some days, things do feel that way.
  • 2
    @endor I think we can probably come to the same consensus that anything openssl in C++ is not pretty at all then 😂
  • 2
    @n3xus lol, definitely agree on that!
  • 0
    If you want to do C++ development on Windows, I strongly recommend to use either vcpkg or MSYS2.
  • 0
    @BlueDav000 can't use any 32 bit libraries
  • 0
    @n3xus Why do you think they are 32 bit only?
  • 0
    @BlueDav000 sorry I'm drunk. Was up ridiculously late that night lol
  • 0
    @BlueDav000 I saw the 2 and thought 32 bit I think 😂
  • 0
    @n3xus No problem.

    MSYS2 provides packages for both 32 bit and 64 bit (x86).

    vcpkg builds everything from source, meaning that it should work on any architectures.
Add Comment