Closed sbjw closed 10 months ago
Study your logs. Start with the config log.
And maybe focus on getting gdal[core]
working with swig/java first.
Study your logs. Start with the config log. And maybe focus on getting
gdal[core]
working with swig/java first.
I forget to upload log file
I was set all the env of the 'swig/CMkeList.txt' ,java jni swig jni,
but it is tip the variables BUILD_JAVA_BINDINGS were not used by the project
Manually-specified variables were not used by the project:
BUILD_JAVA_BINDINGS
how can i build swig ? can i use portfile.cmake to start build manully
Gdal supports swig only with dynamic linkage: https://github.com/OSGeo/gdal/blob/6a0fb7801c4c453587671fe56a92db736d246300/gdal.cmake#L576-L578
So you must use the x64-linux-dynamic community triplet.
thanks
Operating system
x64-linux
Compiler
No response
Steps to reproduce the behavior
Failure logs
build result is success, but swig java is not created.![image](https://github.com/microsoft/vcpkg/assets/19704945/0b227674-364f-48b7-8afe-954ef4b6952c)
when i do the same operate in windows , it is success, Get the gdal*.jar and gdaljni.dll
Additional context
No response