Thulinma / ndsplus

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

Any way to compile it on Windows #26

Open gbusoni opened 6 years ago

gbusoni commented 6 years ago

I have been trying to compile it on windows using minGW, without any success. But I read that people were able to.

Thulinma commented 6 years ago

It should compile just fine under mingw (that is how I compiled the Windows binaries myself as well). What problem(s) are you running into?

gbusoni commented 6 years ago

libusb are giving me trouble. I get undefined reference errors. Maybe I am doing something wrong. I just copied the libusb.h file in the include folder and the libusb-1.0.dll, libusb-1.0.dll.a and libusb-1.0.a in the lib folder. I also tried to copy them in the lib/dll and lib/static folders. But it somehow doesn't find them I think... The only compiler that didn't give errors or warnings is cpp but the exe produced doesn't run on windows, it says it is 16 bits

Thulinma commented 6 years ago

It's probably because pkgconfig doesn't know where it's installed. You'd have to either edit the Makefile to no longer require pkgconfig, or set up pkgconfig properly.