Re: [gdal-dev] Bytes still reachables in setFromUserInput function

2015-06-04 Thread Mathieu Coudert
jeudi 04 juin 2015 16:04:32, Mathieu Coudert a écrit : > > Hello, > > > > > > > > I am using GDAL 1.11.2 on linux Centos and here is one of my function : > > > > > > > > { > > > > OGRSpatialReference sr; > > > >

[gdal-dev] Bytes still reachables in setFromUserInput function

2015-06-04 Thread Mathieu Coudert
Hello, I am using GDAL 1.11.2 on linux Centos and here is one of my function : { OGRSpatialReference sr; if (sr.SetFromUserInput(proj.c_str()) != OGRERR_NONE) throw InvalidInput(); char *wkt; sr.exportToWkt(&wkt); string srs (wkt); OGRFree(wkt); return srs; } This code wor

Re: [gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-06 Thread Mathieu Coudert
Hi, This error was due to the "--without-libtool" option compiling GDAL. I found that I had to build GDAL *with* libtool to get java bindings working (contrarily to what's written in section "Configure and Build GDAL" from http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix) Cheer

Re: [gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-03 Thread Mathieu Coudert
`pwd`/gdal.jar:`pwd`:`pwd`/build/apps gdalinfo $ export LD_LIBRARY_PATH=`pwd`:/usr/local/lib Any idea please? Mathieu On Fri, Aug 3, 2012 at 1:25 PM, Even Rouault wrote: > Selon Mathieu Coudert : > > Your LD_LIBRARY_PATH should also include the path to l

[gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-03 Thread Mathieu Coudert
Hi, Running GDAL with Java binding I am facing an issue with an undefined symbol: CPLLoggingErrorHandler in libgdaljni.so. First I compiled GDAL 1.9.1 with Java support. Then I followed the Java building instructions on Unix [1]. Everything seems to be correct, my ant build is successful. However