mmomtchev / node-gdal-async

Node.js bindings for GDAL (Geospatial Data Abstraction Library) with full async support
https://mmomtchev.github.io/node-gdal-async/
Apache License 2.0
133 stars 26 forks source link

npm install --build-from-source causes large error. #27

Closed tris-g closed 2 years ago

tris-g commented 2 years ago

Hi there, thanks for responding to my issue on Stack Overflow (https://stackoverflow.com/questions/71383334/how-to-use-node-gdal-with-electron/)

When trying to get gdal-async working in Electron and using npm install --build-from-source gdal-async the following happens (please refer to log file).

2022-03-07T15_56_59_053Z-debug.log

Thanks.

tris-g commented 2 years ago

Thanks for your effort on this @mmomtchev :)

tris-g commented 2 years ago

Is there anything I can do about the nan issue or am I stuck?

mmomtchev commented 2 years ago

Not on Windows, there is a very important API call which is missing on Electron - I am checking with them to see why - but from what I saw, other module authors reimplemented it themselves and it has been like this for the last 6 months or so. There is also the zlib mess which needs sorting out - because GDAL simply requires zlib. I got Linux working. Depending on what remains to be done on Windows, it could happen on the 3.4 branch, or if there is a lot of work, I am afraid it will be for the 3.5 branch.

mmomtchev commented 2 years ago

28