this pull request fixes #2 (the build issue on mac os x 10.12).
The compiler error was fixed using a replacement for a deprecated attribute name
and the linker error was solved by setting nar-maven-plugin configuration in pom.xml
As I had to comment (or remove) the old workaround (which was to avoid accessing a nonexistent attribute) I tested it additionally with a Logitech M185 (normal scroll mouse) and there was
no assertion error (see comment on the reason for the original workaround).
I added a workaround for the maven integration-test because of java.library.path
not being set by the nar-plugin on mac os (resulting in "build failure").
At first i tried setting it manually, but this seems only possible for surefire-tests
not for the nar-integration-test. So i used the given path and configured an ant task
to copy the binary to the projects base directory where it is found by the lib loader.
I also tried to fix the rotation issue for mac os, but until now this pull request does not
contain anything for that. I will write about that on the Rotation-Test issue.
committed after changing the nativeVersion and the script to autogenerate headers/properties, please recompile your macOS lib to reflect these changes. Thank you!
Hello,
this pull request fixes #2 (the build issue on mac os x 10.12).
The compiler error was fixed using a replacement for a deprecated attribute name and the linker error was solved by setting nar-maven-plugin configuration in pom.xml
As I had to comment (or remove) the old workaround (which was to avoid accessing a nonexistent attribute) I tested it additionally with a Logitech M185 (normal scroll mouse) and there was no assertion error (see comment on the reason for the original workaround).
I added a workaround for the maven integration-test because of java.library.path not being set by the nar-plugin on mac os (resulting in "build failure"). At first i tried setting it manually, but this seems only possible for surefire-tests not for the nar-integration-test. So i used the given path and configured an ant task to copy the binary to the projects base directory where it is found by the lib loader.
I also tried to fix the rotation issue for mac os, but until now this pull request does not contain anything for that. I will write about that on the Rotation-Test issue.