msvc build
Would it be possible to have a binary windows version to download, including zlib, freetype, etc.?
Compiling it all by oneself takes forever, because their make processes are all differently organized, and the explanations for msvc aren´t very clear in all of them.
Comments (10)
-
-
I have pretty reliable Windows support working using msys. The resulting DLL should link fine against VC++. (At least, I've had no trouble linking it against dotnet).
Documentation is at https://bitbucket.org/libgd/gd-libgd/src/339b17aeff63478da582ac32031758ccbd38d09b/windows/msys/README.MSYS.md?at=master
Appendum: I'm about to merge in some fixes for this. I think the current trunk works too but you may want to wait a few hours.
Edit: Done!
-
For msvc support, see https://bitbucket.org/libgd/gd-libgd/issue/130/windows-makefile-and-appveyor-ci-support
-
Would it be possible to use the same deps than we do? They are all in https://github.com/winlibs/
-
Or simply use cmake
-
Our dependency repository is based on the precompiled binaries provided with the PHP SDK, which are built with msvc and should be identical. If you have a script that can produce them from /winlibs/ that would be great.
We've each put dozens of hours into coaxing cmake to build libgd on windows; no success. Many libraries also tend to version their complete windows Makefiles, which I think is a great idea. cmake is rarely backwards-compatible on windows - when a release actually happens to run there.
For our work, we do need continuous integration, so unless compilation can be completely scripted on a fresh VM - it's not really usable.
-
Very good point :)
Do you need access to the GD repos? Could be easier :)
-
I plan on refactoring our build/test scripts a bit more before I submit a pull request. Has anyone started a travis-ci configuration? It would be great to get a matrix going so breaking commits can be caught faster.
-
Not yet but go ahead :)
-
Drone.io took < 10mins to set up: https://drone.io/github.com/imazen/gd-libgd
- Log in to comment
have you treid using cmake?