Select to view content in your preferred language

GeographicTransformation class causing UnsatisfiedLinkError in 10.2 on Windows

1600
1
11-21-2013 02:14 PM
dw2
by
Deactivated User
A simple Windows program to test the new GeographicTransformation class available in ArcGIS Runtime 10.2, yields UnsatisfiedLinkError.  The same program also calls a method in SpatialReference.  It yields good result.  The environment is set correctly.  Otherwise, the SpatialReference method would not work either.

The code snippet:

    GeographicTransformation gt = GeographicTransformation.create(gtTable);

causes the following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.esri.core.geometry.GeometryEngineCore.nativeGetGeoTx(ILjava/lang/String;Z)Ljava/lang/String;
at com.esri.core.geometry.GeometryEngineCore.nativeGetGeoTx(Native Method)
at com.esri.core.geometry.GeographicTransformation.create(Unknown Source)
at com.esri.core.geometry.GeographicTransformation.create(Unknown Source)
at wktdb.dumpcrs.DumpRtCrs.dumpTransform(DumpRtCrs.java:53)
at wktdb.dumpcrs.DumpRtCrs.main(DumpRtCrs.java:26)
0 Kudos
1 Reply
dw2
by
Deactivated User
Adding the code: "ArcGISRuntime.initialize();" to the console app appears to resolve the issue.
0 Kudos