Thulinma / ndsplus

Linux support for the EMS NDS Adapter+
GNU General Public License v3.0
23 stars 4 forks source link

Can't open device on Windows #27

Open delipunch opened 6 years ago

delipunch commented 6 years ago

Compiling on Windows with cygwin worked fine, but the program can't open the device even when cygwin is run as admin. It does find the device, though.

$ ./ndsplus-master/ndsplus.exe Found NDS Adapter+ but could not open! :-(

Is it because I do not have drivers installed?

Thulinma commented 6 years ago

The software doesn't need/use a driver, it uses libusb directly and speaks "raw" USB packets with the device. So... it should just work, assuming it's running with rights to open the USB device.

It's possible Windows has changed their security methods once again, and you now need some form of special access to run this application, but I'll be honest: I have no idea. I develop and use the application on Linux, myself, and have never personally ran it under Windows. I am aware of other users that have done so successfully, but that was years ago now so that information might long be outdated.

You'll likely get better results compiling without cygwin, for native Windows. If I'm not mistaken, the code is compatible with native Windows APIs as well (assuming libusb is installed on the system). That way there's no "extra" layer in between that potentially messes things up.