Closed oscarmartinezrubi closed 4 years ago
BTW, run this setting of enviromental variables before the cmake
I don't know much about build systems or linux so I'm afraid I can't help with that. :|
CPLMutexHolder::CPLMutexHolder(void**, double, char const*, int, int)
is due to GDAL being built in DEBUG mode and this causes the CPLMutex struct to be defined as something other than void*
. The only solution at the moment is to build GDAL without --enable-debug
.
Hi,
I have a custom installation of GDAL/liblas in linux (Redhat) and I get this error when compiling (well, using anttiviljami fix, thanks!):
I think that is because GDAL is build in a location that the current linking does not know...
A colleague show me how to solve this by adding modifying manually some environmental variables, example:
But I guess some thing could be done within the cmake files to solve for the issue of custom GDAL installations which is not taken into account now...
Regards,
O