coderrick
coderrick

Reputation: 1011

Issue building jnativehook

I'm trying to build jnativehook just following the steps on the wiki (which seems incomplete) but, when I run ant all as instructed I get this error:

C:\Users\[Username]\Downloads\jnativehook-master\jnativehook-master`\build.xml:173: Could not load definitions from resource org/jnitask`/antlib.xml. It could not be found.

I'm building on Windows 8.1 and I have visual C++ 2015 (I don't want to use Msys2 to do this). I have very low knowledge of ant so any help or clues will be appreciated

Upvotes: 1

Views: 151

Answers (1)

Alex Barker
Alex Barker

Reputation: 4400

You need to add the JNITasks jar to the root of the project. See the project wiki for full compiling instructions. https://github.com/kwhat/jnativehook/wiki/Compiling

Upvotes: 2

Related Questions