For what it is worth, I successfully ran the latest osm2pgsql v2.1.1 as
downloaded from the official https://osm2pgsql.org/doc/install/windows.html
link in Windows 10 22H2, build 19045.5737 using the same custom osm2pgsql flex
style I use on Ubuntu 24.04 to import Planet and the Geofabrik 'Denmark'
extract.
Of course, the OP uses Windows 11, not 10.

--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2326#discussioncomment-13036789
You are receiving this because you are subscribed to this thread.
Message ID:
<osm2pgsql-dev/osm2pgsql/repo-discussions/2326/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving