Windows binary for libgit2 0.22.2 (UPDATE: 0.23.2 available)

I recently needed a Windows binary of libgit2 to build some Geany code against the library. Since I could not find any reliable and trustworthy source for Windows builds of libgit2, I had to compile it myself. In order to save others from this, I want to publish the result.

You can download the ZIP archive containing the Windows DLL library as well as necessary C header files from:

http://download.geany.org/contrib/libgit2-0.22.2.zip

The binary is digitally signed with my cacert.org code signing certificate. Fingerprint for validation:
93 09 b4 6c e5 da 01 8d d6 29 fe 6a b6 44 7a c0 f0 d1 28 81

Please note that the binary is provided as is, without warranty of any kind. Use it at your own risk.

UPDATE 2015-09-27: I uploaded a build of libgit2 0.23.2 to http://download.geany.org/contrib/libgit2-0.23.2.zip

Comments

  • Gravatar for MarkMark 1 year, 5 months ago

    Thanks,
    Saved me a bunch of effort. It would be great to keep this up-to-date with new libgit2 releases ;-)
    Mark

    Link / Reply
    • Gravatar for MarkMark 1 year, 5 months ago

      Oops, spoke too soon.
      libgcc_s_sjlj-1.dll not found

      Link / Reply
      • Gravatar for enricoenrico 1 year, 4 months ago

        I just uploaded a build of the current libgit2 version and updated the post accordingly.

        http://download.geany.org/contrib/libgit2-0.23.2.zip

        I'll try to keep the binaries up to date but I cannot promise :). Feel free to ping me if necessary.

        Regarding the missing DLL: this library is part of gcc and is bundled with the Mingw bundle. I didn't find a way to build without this dependency. Also, my build depends on libwinpthread-1.dll.
        For your convenience, I put both libraries into http://uvena.de/tmp/win32_deps.zip.

        Link / Reply
  • Gravatar for FabriceFabrice 1 year, 4 months ago

    Hello Enrico,

    I try to use your distributed libgit2 in windows XP but I have some problems.

    It's ok for dll dependencies but I have the folowwing message when executing my python program including the libgit dll :

    "Procedure Entry point swprintf_s cannot be found in msvcrt.dll" (Just translate from the french message "Le point d'entrée de procédure swprintf_s est introuvable dans la bibliothèque de liaisons dynamique msvcrt.dll")

    Did you know what can be the cause of this message ?

    Thx a lot
    Fabrice

    Link / Reply
    • Gravatar for enricoenrico 1 year, 4 months ago

      Nope, sorry. Not really an idea what's causing this.

      Maybe some incompability with Windows XP but this is just a guess.

      Link / Reply
  • Gravatar for RalfRalf 7 months, 3 weeks ago

    I'd like to put it into the DevKit folder, but I don't know where exactly.
    Can you help me, please ?

    Link / Reply
    • Gravatar for enricoenrico 7 months, 3 weeks ago

      I don't know DevKit, so not sure where to put the library in. It might be better to ask the DevKit guys.

      Link / Reply
      • Gravatar for RalfRalf 7 months, 3 weeks ago

        Found it ! I just integrated lib in lib and include in include and bin into bin ;-)

        Link / Reply
Write a new Comment