We are successfully using libusb for windows and your libusbjava JNI code to talk to usb devices, but it's time to move to our embedded device running DamnSmallLinux (DSL), and I can't get it to compile.
Checking out the trunk, I run "ant linux" in DSL, and I get a bunch of errors. An example:
[exec] LibusbJava.cpp:806: error: redefinition of `int libusbJavaError'
[exec] LibusbJava.cpp:565: error: `int libusbJavaError' previously defined here
[exec] LibusbJava.cpp:806: warning: converting to non-pointer type `int' from NULL
[exec] LibusbJava.cpp:807: error: parse error before `}' token
[exec] LibusbJava.cpp:819: error: parse error before `
[exec] Result: 1
I must be missing something obvious, but I'm not sure what. I've got gcc v3.3.4.
Log in to post a comment.