Building on windows #19
Labels
No Label
Bug
Enhancement
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: geos/php-geos#19
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hi,
I tried building php-geos on windows following this guide: https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
But it doesn't seem to be supported.
I'm a webdev and I don't know much about building PHP extensions. What would be needed in order to make php-geos buildable on windows?
Thank you.
@robe do you have anything for php-geos ?
I was considering creating my own makefile.vc file to build on Windows (as I have to do for so many projects that don't handle Windows); but longer term, I think this should be handled by cmake instead.
Can you explain how to handle that? There is no documentation for this particular project on using CMake with it, when the CMake GUI indicates failure trying to load the project.
The actual PHP library I want to use (or an alternative) depends on this extension for the core functionality I'm looking for. I'm already going out into the weeds even having to do this when I could be working on actually using the library.
@strk no never tried to build php-geos. @jmckenna have you? Anyrate I can give it a try next week. @aondra are you using MS VC? and if so which version. I have VS 2019 installed so will try with that.
I have it installed but there is no documentation on building this in Windows. I tried building it via the typical PHP extension building process (which @h0gar linked to) but it doesn't get picked up by the buildconf tool. Also as mentioned, the CMake GUI can't make sense of the project directory, either.
IMO if you're making an extension for something with a standard build process you should at least try to support that if not providing pre-built versions on
/releaseson the repository.