Skip to content

Conversation

craigraw
Copy link

Currently, the JNAeator generated code loads the openpnp-capture twice, leading to the following warning:

Class PlatformAVCaptureDelegate is implemented in both ../Library/Caches/JNA/temp/jna10042956694623537098.tmp (0x14b6ac5f8) and ../Library/Caches/JNA/temp/jna8716218045893292183.tmp (0x14b7345f8). One of the two will be used. Which one is undefined.

The warning is harmless but unncessary, since Native.load calls NativeLibrary.getInstance anyway and JNA_NATIVE_LIB is never referenced. This PR comments out one of the load directives to remove the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant