Giter Club home page Giter Club logo

bzip2-windows's Introduction

Bzip2 โ€“ Visual Studio libbz2.dll Build

Patches and a PowerShell script to build bzip2 with Visual Studio using a dynamic library (libbz2.dll).

Patches

Patches are included in this repository that modify the makefile.msc file in the bzip2 distribution to:

  • Build cleanly with Visual Studio 2013 and later (replacing deprecated command line options).
  • Build libbz2 as a DLL (libbz2.dll).
  • Dynamically link the executable outputs with libbz2.dll (by default the executables are statically linked).
  • Add a version resource to the executables and DLL.

PowerShell Script

The PowerShell script, Build-Bzip2.ps1, performs the following actions:

  1. Downloads the bzip2 source from http://www.bzip.org.
  2. Extracts the source.
  3. Applies the patches (see above).
  4. For the x86 and x64 architectures:
    1. Executes nmake to build bzip2.
    2. Copies build outputs to a directory named outputs.
    3. Creates zipped packages containing build outputs in a directory named packages.

Build-Bzip2.ps1 requires:

Binaries

32-bit and 64-bit Windows binaries can be downloaded from the releases page.

The binary releases depend on the Visual Studio C Runtime Library (please refer to the release notes for details).

bzip2-windows's People

Contributors

philr avatar

Watchers

 avatar  avatar

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.