Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to compile it on Windows #26

Open
gbusoni opened this issue Jan 22, 2018 · 3 comments
Open

Any way to compile it on Windows #26

gbusoni opened this issue Jan 22, 2018 · 3 comments

Comments

@gbusoni
Copy link

gbusoni commented Jan 22, 2018

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

@Thulinma
Copy link
Owner

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
Copy link
Author

gbusoni commented Jan 25, 2018

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
Copy link
Owner

Thulinma commented Feb 5, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants