-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDAL Built for Apple ARM #243
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a question regarding the built of GDAL with WorldWind.
Since there is no built shipped with WorldWind I compiled GDAL 3.4.2 with Java from the sources which took me a while to figure out all dependencies and linker options.
I left out the MrSID dependency since there is no built available at the moment for ARM.
However I try to understand how GDAL for WorldWind was configured to create a single dynamic library
as described in the repository:
So any hints how you configured GDAL to create one .dylib for WorldWind would be a help.
At the moment I configure GDAL like this:
CPPFLAGS=-I/usr/local/lib/include LDFLAGS=-L/Usr/local/lib ./configure --with-java --with-jvm-lib=/Applications/Eclipse.app/Contents/MacOS/jdk/Contents/Home --with-threads --without-grass --with-jasper --with-libtiff --with-jpeg= --with-gif --with-png --with-geotiff --with-pcraster=internal --with-geos --with-proj --with-expat --with-curl --with-netcdf --with-hdf5
Then I execute make (or for a static lib: make static-lib)
After that I change to the swig/java directory and create the java *.jar (My JDK is bundled within the Eclipse.app)
make CFLAGS="-I/Applications/Eclipse.app/Contents/MacOS/jdk/Contents/Home/include -I/Applications/Eclipse.app/Contents/MacOS/jdk/Contents/Home/include/darwin"
The text was updated successfully, but these errors were encountered: