Is anyone having trouble building Java wrapping in Windows?
I think this commit Add glTF reader and importer (Mon, 8 April2019 19:25) is the culprit: b377cf79ccbd272ce7d4d508d5f6fc53f57d5f42
I’m using VTK 8.90 Java JDK 12.0.1 and this error also occurs in JDK 11.0.1.
Also JAVA_SOURCE_VERSION and JAVA_TARGET_VERSION can only be set to a maximum of 1.9
The error seems to be related to
Creating library lib\vtkIOGeometryJava.lib and object lib\vtkIOGeometryJava.exp vtkGLTFDocumentLoaderJava.cxx.obj : error LNK2019: unresolved external symbol vtkObject_Typecast referenced in function vtkGLTFDocumentLoader_Typecast bin\vtkIOGeometryJava.dll : fatal error LNK1120: 1 unresolved externals
After this I get:
[5/28] Compiling Java Classes Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. [6/28] Creating vtk.jar added manifest ...
adding: vtk/vtkZLibDataCompressor.class(in = 724) (out= 384)(deflated 46%) [7/28] Compiling Java Tests ninja: build stopped: cannot make progress due to previous errors.