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
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/
>
> 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
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]
> *
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`
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
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
> 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
In GDAL 1.8.1 I'm attempting to call GetMetadataItem() within the
context of an Android 2.2 Java app, but I'm getting an error,
specifically
08-10 22:13:41.750: WARN/dalvikvm(546): JNI WARNING: jstring 0x40569100
points to non-string object (Check_GetStringUTFChars)
An access violation erro