Building on windows #19

Open
opened 2018-04-20 08:40:44 -07:00 by h0gar · 5 comments

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.

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 ?

@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.

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.

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](https://github.com/brick/geo) (or an [alternative](https://github.com/phayes/geoPHP)) 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.

@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 /releases on the repository.

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 `/releases` on the repository.
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: geos/php-geos#19
There is no content yet.