build libvips for 64-bit windows
Switch branches/tags
Nothing to show
Clone or download
Latest commit 62038fa Sep 19, 2018
Permalink
Failed to load latest commit information.
8.1 add 8.2 Dec 30, 2015
8.2 update for latest Mar 22, 2016
8.3 add an 8.4 dir Aug 18, 2016
8.4 add a ptmfit target Feb 6, 2017
8.5 update for latest Oct 11, 2017
8.6 switch to bionic Aug 2, 2018
8.7 Release v8.7.0 Sep 19, 2018
container switch to bionic Aug 2, 2018
.gitignore run build as invoking user Apr 24, 2018
.travis.yml add github releases to travis Dec 5, 2015
README.md add note on binaries to README Apr 25, 2018
build.sh switch to bionic Aug 2, 2018

README.md

build-win64

Build a libvips binary for 64-bit Windows. The resulting zip file includes all necessary DLLs, EXEs, headers, etc.

Only use this repo if you MUST build libvips yourself. There are pre-compiled binaries for libvips here:

https://github.com/jcupitt/libvips/releases

One of those would probably be a better idea.

Build with docker

Docker will make a light-weight virtual machine containing all the tools you need and then build inside that. You won't need to install any extra stuff on the host machine, and everything is automated.

First, install docker:

https://docs.docker.com/engine/installation/

Make sure you're in the docker group so you can run docker without needing sudo.

Now run the build script:

$ ./build.sh 8.6

At the end of the build, the script will display the paths of all the zip files it created, ready to be uploaded to the server. Be patient, this process can take an hour, even on a powerful machine.

Build with jhbuild

See the README in the 8.x subdirectory for instructions for building directly in jhbuild.

TODO

  • could turn on orc now

  • try installing win64 python and running it under wine so we can run the test suite? who knows, it could work

    wget https://www.python.org/ftp/python/2.7.10/python-2.7.10.amd64.msi

    headless install

    wine msiexec /qn /i python-2.7.10.amd64.msi

    does not set PATH, so to run, use:

    WINEPATH=c:/python27 wine python.exe test.py

    try

    WINEPATH="c:/python27;/home/john/GIT/build-win64/8.1/x/vips-dev-8.1.1/bin" GI_TYPELIB_PATH=/home/john/GIT/build-win64/8.1/x/vips-dev-8.1.1/lib/girepository-1.0 wine python test_all.py