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

Building on Windows? #8

Open
IamYish opened this issue Dec 8, 2021 · 2 comments
Open

Building on Windows? #8

IamYish opened this issue Dec 8, 2021 · 2 comments

Comments

@IamYish
Copy link

IamYish commented Dec 8, 2021

is there somewhere i can find instructions on building this in windows, i followed the instruction in the code download to install Python 2.7, libusb (win32)<--got it recognizing the MPC4000 and have a driver installed on win10, installed the pygtk all in one and msys to build but i am running into pip and setuptools issues it seems. i also have an XP Virtual Machine i could work on as well.

One other thing i thought about was it being possible to simply create a better usb driver to use with the original AKSYS on modern machines(the dreamer iam)

@IamYish
Copy link
Author

IamYish commented Dec 9, 2021

Update: managed to get pip and setuptools going and started to follow the provided install instructions again getting a long list of usb.h and usbspec.h errors:

example1: C:/msys64/mingw64/x86_64-w64-mingw32/include/usbspec.h:244:3: error: unknown type name 'UCHAR'
244 | UCHAR bDescriptorType;

example2: C:/msys64/mingw64/x86_64-w64-mingw32/include/usb.h:511:3: error: unknown type name 'ULONG'
511 | ULONG ErrorCount;
| ^~~~~

@watzo
Copy link
Owner

watzo commented Dec 14, 2021

Thanks for trying this on Windows! The instructions that are there need to be updated for Windows 10. I'll try it in one of the coming days and produce binaries so you don't need to compile the sources yourself. https://github.com/watzo/aksy/blob/master/BUILDING.md

A USB driver approach could work, but drivers are complex (and require native code as well), and is not cross-platform.

What is/was your main use case for AKSYS?

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