sahrk / DGGRID

A command-line application that generates and manipulates icosahedral discrete global grids.
GNU Affero General Public License v3.0
78 stars 26 forks source link

GDAL compile issue on other environments like nodejs #17

Closed am2222 closed 3 years ago

am2222 commented 4 years ago

Hi, Is there any possible way to make GDAL requirement to compile the code optionally? I am trying to make a wrapper for nodejs and the issue is with linking GDAL to the library to compile (https://github.com/am2222/dggridjs), currently I am using previous version of dggrid library which does not have any linkage to GDAL.On the windows also there are lots of issues with compiling GDAL and linking it (however I could manage to do it). I was thinking about the potential way to make this part optional to be able to easily port it for other environments as well.

sahrk commented 4 years ago

Yes, I already have a version that does that. I will merge those changes.

am2222 commented 4 years ago

@sahrk that would be great. Thanks you

sahrk commented 3 years ago

I just pushed version 7.1, which allows DGGRID to be built without GDAL by setting BUILD_WITH_GDAL = FALSE in src/MakeIncludes.noCMake. Sorry it's taken so long!

am2222 commented 3 years ago

@sahrk thanks, I really appreciate it. I guess now I can compile the nodejs wrapper with no issue. Thanks