Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-23 Thread Nikolaos Hatzopoulos
yes watch that because they also added test so you can do: make test and see if the swing is working --Nikos Hatzopoulos On Tue, Aug 23, 2011 at 8:53 AM, Jim Pendleton wrote: > > Just to finalize this thread, the underlying problem was that the > version of SWIG I was using was outdated. Ins

RE: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-23 Thread Jim Pendleton
Just to finalize this thread, the underlying problem was that the version of SWIG I was using was outdated. Installing version 2.0.5 corrected the issue. Jim P. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/

Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-12 Thread Even Rouault
> > Indeed I was lacking the -fno-strict-aliasing switch in the C++ flags in > my > Android.mk file. > > However, I've added this switch to both LOCAL_CFLAGS and LOCAL_CPPFLAGS > for the libgdaljni.so build and I continue to get the error during > execution. At least now you have eliminated one

Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-11 Thread Nikolaos Hatzopoulos
e libgdaljni.so that will perform the > equivalent functionality as > > the stand-alone gdalinfo executable, I could try that. > > ** ** > > Jim P. > > ** ** > -- > > *From:* Nikolaos Hatzopoulos [mailto:nhat...@gmail.com] > *

RE: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-11 Thread Jim Pendleton
ton Cc: Even Rouault; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function Did you follow these instructions? http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix this command must work: java -classpath `pwd`/gdal.jar:`pwd`:`pwd`

Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-11 Thread Nikolaos Hatzopoulos
Did you follow these instructions? http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix this command must work: java -classpath `pwd`/gdal.jar:`pwd`:`pwd`/build/apps gdalinfo as the instruction are saying: *With luck you will see the gdalinfo usage message. * and try to see a gda

RE: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-11 Thread Jim Pendleton
Even, Thanks for the suggestion, but if I've implemented your suggestion properly, it has not solved the underlying problem. >I'm not sure how you've compiled the gdal_warp.cpp, but if you didn't >use the provided swig/java/GNUmakefile, there's one point you must be >very careful that is mention

Re: [gdal-dev] SWIG JNI binding question with GetMetadataItem function

2011-08-11 Thread Even Rouault
> I've found a thread discussing a similar issue under the android-ndk > group, but without the swig component: > > > > http://groups.google.com/group/android-ndk/browse_thread/thread/27e83cdf > 168bc0bb/db151ea4c15362c5?show_docid=db151ea4c15362c5 > > > > I infer from that discussion that ei