bugra9 / gdal3.js

Convert raster and vector geospatial data to various formats and coordinate systems entirely in the browser.
https://gdal3.js.org
GNU Lesser General Public License v2.1
311 stars 46 forks source link

Adding emscripten toolchain support in configure scripts #81

Open CaglaNurYuva opened 1 month ago

CaglaNurYuva commented 1 month ago

I do not have any bug or related issue related to gdal3.js project. I want to ask something related to emscripten toolchain usage in configure scripts used in the libraries.

As far as I know, the libraries installed by gdal3.js can be configured with emscripten toolchain. Are you the one who added emscripten toolchain support in configure scripts of the libraries? If it is, I want to ask how did you do this? I am also trying to add emscripten toolchain support in the configure script of another library and I am stuck. If you have any suggestions, I would like to have a look at them, thank you.

bugra9 commented 2 weeks ago

Hi @CaglaNurYuva,

At first I try to compile the library with emscripten. Usually there are multiple compilation methods such as cmake, configure. I try one of them, if not, I try the others. If not, I choose one of them and try to understand the issue with debug and fix it. This fix could be to disable a feature or change a file.

You can review the fixes from the https://github.com/bugra9/gdal3.js/blob/master/Makefile