Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread David Rush
Alright, since jni_md.h was referenced from jni.h, I tried copying jni_md.h into the same directory as jni.h, which seems to have helped. Or at least got to the next error: gnm_wrap.cpp:471:21: warning: unused function 'SWIG_JavaArrayOutDouble' [-Wunused-function] static jdoubleArray SWIG_JavaArr

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread David Rush
Andrew: That's what I thought. I do have the JDK (OpenJDK 11.0.2). Ah, found it. I think I may have both a JRE and JVM confusing things (confusing me, at least). Both appear to be the same version, at least. I've changed my JAVA_HOME in java.opt to reflect where my JDK is installed. Also had

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread Andrew C Aitchison
On Mon, 27 Apr 2020, David Rush wrote: Ivan: Thanks! That worked. On to the next error (with make in gdal/swig/java) ... gdalconst_wrap.c:154:10: fatal error: 'jni.h' file not found #include ^~~ 1 error generated. make: *** [gdalconst_wrap.lo] Error 1 Where *should* jni.h come

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread David Rush
> > Regards, > > Ivan > > > > -- > *From:* gdal-dev on behalf of David > Rush > *Sent:* Monday, April 27, 2020 10:02 AM > *To:* gdal-dev@lists.osgeo.org > *Subject:* Re: [gdal-dev] Building for Java on MacOS > > Thank you,

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread Ivan Lucena
t" by installing uDig [udig.refractions.net]. I mean, the GDAL Java binding was included and ready to use. Regards, Ivan From: gdal-dev on behalf of David Rush Sent: Monday, April 27, 2020 10:02 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Bu

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread David Rush
Thank you, Evan. That got me to the next error: /bin/sh: swig: command not found make: *** [gdal_wrap.cpp] Error 127 Where/how does the "swig" script or binary come from? David On Mon, Apr 27, 2020 at 7:11 AM Even Rouault wrote: > On lundi 27 avril 2020 07:03:28 CEST David Rush wrote: > > >

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread Even Rouault
On lundi 27 avril 2020 07:03:28 CEST David Rush wrote: > All: > > I think I finally found some instructions for building the Java stuff I > need: > > https://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix > > That includes some notes for MacOS. Yay. > > I've set up my java.opt per

Re: [gdal-dev] Building for Java on MacOS

2020-04-27 Thread David Rush
All: I think I finally found some instructions for building the Java stuff I need: https://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix That includes some notes for MacOS. Yay. I've set up my java.opt per this link referenced in the above link: https://trac.osgeo.org/gdal/ticke

Re: [gdal-dev] Building for Java on MacOS

2020-04-26 Thread William Kyngesburye
I don't package GDAL java with my framework, and have no interest in java. Sorry. I don't know about Homebrew. - William Kyngesburye Don't Panic > On Apr 24, 2020, at 5:36 PM, David Rush wrote: > >  > Hi. I'm trying to get to the point where I can use GDA

[gdal-dev] Building for Java on MacOS

2020-04-24 Thread David Rush
Hi. I'm trying to get to the point where I can use GDAL with Java (on a Mac now, Linux server box in the future). Current box is MacOS 10.15.4. I've D/L the binaries for 2.4 from https://www.kyngchaos.com/software/frameworks/, and installed, which appears to have put things in /Library/Framework