Giter Club home page Giter Club logo

bzip2-windows's People

Contributors

philr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bzip2-windows's Issues

Bzip2 has a new official maintainer

Julian Seward handed over maintainership of bzip2 to Federico Mena Quintero earlier this month: https://people.gnome.org/~federico/blog/maintaining-bzip2.html

Bzip2 finally has an official public repository, found here on gitlab: https://gitlab.com/federicomenaquintero/bzip2

Would you consider contributing your patches and version.rc file in a pull request to the new official repo? I've been using them for my project for our Windows builds and they appear to work well for us.

Executable cannot compress large files

Version: 1.0.6-win
Neither the x64 nor the x86 version managed to compress a 4.5 GB file.

bzip2: Input file large.file is not a normal file.

Small testfiles (few KB) worked.

Possible mistake at escaping ?

Hi there,

i have a project with an external dependency that requires a library from bzip2... So i had to make it for visual studio 2015. Your repo is a godsend because the source code of the library contains old commands switches and other things that needs to be cleaned. However...

When i have downloaded your files, i have also modified Build-Bzip2.ps1, that

Param (
  [string]$GitPath = 'git',
  [string]$VisualStudioDir = 'C:\Program Files (x86)\Microsoft Visual Studio 12.0'  
)

Becomes

Param (
  [string]$GitPath = 'git',
  [string]$VisualStudioDir = 'C:\Program Files (x86)\Visual Studio 14.0'  
)

In the above folder, there is a subfolder "VC" which then contains vcvarsall.bat

PS C:\Program Files (x86)\Visual Studio 14.0\VC> Get-ChildItem -name
atlmfc
bin
crt
include
lib
Profile
redist
Snippets
UnitTest
VCAddClass
VCContextItems
VCNewItems
vcpackages
VCProjectDefaults
vcprojectitems
vcprojects
VCResourceTemplates
VCWizards
vcEmptyTestProject.vsz
vcvarsall.bat

see the last line. It is compliant with what you're doing when setting up a path:
$VcVarsAllPath = Join-Path -Path (Join-Path -Path $VisualStudioDir -ChildPath 'VC') -ChildPath 'vcvarsall.bat'

But, when running the script, I get an error.

PS D:\downloads\temp\bzip2-windows-master> .\Build-Bzip2.ps1
Extracting archive
Applying patches
Applying patch 01-replace_deprecated_compile_options.diff
Applying patch 02-build_dll.diff
Applying patch 03-add_version_resource.diff
Applying patch 04-remove_unsupported_description_option.diff
Building x86
'""C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Failed to build x86
At D:\downloads\temp\bzip2-windows-master\Build-Bzip2.ps1:100 char:13
+             throw "Failed to build $Architecture"
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to build x86:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to build x86

Apparently there could be some escaping issues, but the line that causes the error

cmd /C "`"`"$VcVarsAllPath`" $VcVars & nmake -f makefile.msc all`""

doesn't seem wrong. Well, if i could understand the mix of escapes...
So I couldn't figure out the problem. I'm surprised that it has worked at you :P
Can you look into that ?

( in the meanwhile, i have used developer console to issue the nmake command on your patched files so that i have the dll. Many thanks for that)

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.