Re: [gdal-dev] link error with MrSID and ECW

2025-02-25 Thread Michael Katz via gdal-dev
=ON  into CFLAGS and CXXFLAGS. This is CMake input ("ON"!). Let the configuration do that for you. Did configuration successfully detect the dependency? Check the config logs. Kai Am 22.02.25 um 05:15 schrieb Michael Katz via gdal-dev: I am getting the following link errors w

[gdal-dev] link error with MrSID and ECW

2025-02-21 Thread Michael Katz via gdal-dev
I am getting the following link errors when building my application in MSVC++: 1>gdal.lib(gdalallregister.cpp.obj) : error LNK2019: unresolved external symbol _GDALRegister_ECW referenced in function _GDALAllRegister@01>gdal.lib(gdalallregister.cpp.obj) : error LNK2019: unresolved external symbo

Re: [gdal-dev] Universal raster to rgba?

2023-08-31 Thread Michael Katz via gdal-dev
nction that is doing "its best", great. I do not know exactly where it would fit in GDAL. I would guess it is going to be a function full of "ifs" and many lines of code ;) Cheers,Javier On Wed, 30 Aug 2023 at 22:18, Michael Katz via gdal-dev wrote: In our program, we

[gdal-dev] Universal raster to rgba?

2023-08-30 Thread Michael Katz via gdal-dev
In our program, we want the user to be able to open and view any raster map. As I understand it, and as we use it in our program, the GDAL API lets you read all sorts of raster files, but it presents them to you in a general form: a certain number of bands, where the bands can have a certain dat

[gdal-dev] exceptions when calling proj_create_crs_to_crs() with noop

2023-08-19 Thread Michael Katz via gdal-dev
When I call PJ *p = proj_create_crs_to_crs(    PJ_DEFAULT_CTX,    "+proj=longlat +ellps=GRS80 +no_defs",    "+proj=longlat +datum=WGS84",    NULL ); It returns a valid projections with the srs "+proj=noop". However, I see that it throws four exceptions in the process, all like Exception thrown at