-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows support #2747
Comments
@mathisloge Any updates on your mapnik windows efforts? |
@csytsma mapnik itself is already buildable and functional under windows. Unfortunately in the last six and the next two month my available time for open source projects is very limited. But be sure that I'm on it :) |
I was able to build mathisloge's node-mapnik and mapnik on Windows. However, trying to use it with current Tilemill proved to be difficult as Tilemill (including dependencies) is still stuck on Node 8. In the end, I just installed the pre-built node-mapnik binary for Node 12 and manually replaced the mapnik folders (main node_modules plus the ones under tilelive-mapnik). did the same for other dependencies such as gdal. Also had to patch the version checks etc. It's a bit of a mess but the result is here On Tilemill's end, you can probably start a proper Node 12 branch (to use the prebuilt node-mapnik, unless mathisloge or someone else is willing to backport it to Node 8) and work through the other dependencies. |
If we upgraded/migrated the Tilemail primary branch to Node 12, any idea how much that might break everything else? If I recall, there were some older mapping libraries it was dependent on, like Wax, Millstone, MM etc. that would all have to be upgraded as well.
… On Jul 5, 2022, at 4:32 PM, prusswan ***@***.***> wrote:
I was able to build mathisloge's node-mapnik and mapnik on Windows. However, trying to use it with current Tilemill proved to be difficult as Tilemill (including dependencies) is still stuck on Node 8. In the end, I just installed the pre-built node-mapnik binary for Node 12 and manually replaced the mapnik folders (main node_modules plus the ones under tilelive-mapnik). did the same for other dependencies such as gdal. Also had to patch the version checks etc. It's a bit of a mess but the result is here <https://github.com/prusswan/tilemill/tree/node12>
On Tilemill's end, you can probably start a proper Node 12 branch (to use the prebuilt node-mapnik, unless mathisloge or someone else is willing to backport it to Node 8) and work through the other dependencies.
—
Reply to this email directly, view it on GitHub <#2747 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAA7ORHCNSKPMHJOZUPKAQLVSTAZTANCNFSM5A5HXN5A>.
You are receiving this because you were mentioned.
|
Native JS libraries like MM should be of little issue. The problem ones are OS-dependent (such as mapnik and gdal) but seems there are already Node 12 binaries for those (like gdal 0.11), so it is just a matter of upgrading the other packages that are dependent on the older versions (some modules may be abandoned at this point, so forking would be necessary). |
Hi @prusswan, Do You have any suggestion? Or better do You have pre-compiled (with all needed node-libraries mapnik, tilelive-mapnik, zip etc) anywhere? Thanks |
@oudoken I don't work with Windows exclusively so it will take someone of @mathisloge's experience to sort out the build tools. For my purpose I went back to Linux/docker. With luck there might be a Windows developer interested enough to take this further. btw, since this is already 2024, maybe node 18 would be a more practical target |
As of 2024 if dropped windows myself and switched completly to linux :D |
The whole project needs to be updated to use a more current Node version. Anyone want to take that on?
… On Feb 21, 2024, at 9:13 AM, Mathis Logemann ***@***.***> wrote:
As of 2024 if dropped windows myself and switched completly to linux :D
—
Reply to this email directly, view it on GitHub <#2747 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAA7ORB6D4AJ2BGDHVEBKYDYUYTMBAVCNFSM5A5HXN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVG4ZTKMRWGUZA>.
You are receiving this because you were mentioned.
|
yea if only we get clients willing to "sponsor" the work
Node 18 for Linux should be "easy" (barring key dependencies that are abandoned with no replacement), perhaps you can start a separate issue to gauge the demand? |
Hi @prusswan, |
So I'm currently adding back windows support to mapnik (and CMake support, too). That does include node-mapnik and python-mapnik, too.
Just wanted to let you know, that it might be possible to build tilemill on windows again.
The text was updated successfully, but these errors were encountered: