-
Notifications
You must be signed in to change notification settings - Fork 29
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 guidance how to make it work for windows? #20
Comments
Unfortunately windows' "low-level" API is very different to Linux/Mac (so called POSIX). This makes it impossible to simply compile the existing source for Windows. Nevertheless, there are ways in which you should be able to get flow to work on windows, they however aren't "easy fixes" and require considerable time and skills in C development. Here are two ways that I can think of:
Should you decide to build for windows please share your results, having flow on windows would be a very useful feature! |
Answering you got me intrigued with the cygwin way. I might have a solution coming really soon. |
Hey, tried with cygwin on 32-bit XP (in kvm). Seems to build fine, just had to pass LDFLAGS=-no-undefined to make. Anton should be able to test tomorrow (as I'm completely clueless about java). |
Cool! I just tried on windows 7 64 bit with cygwin, it also works fine just Now I'll update autotools to add said settings and bundle cygwin dll with
|
A quick update Also, the current status is pretty dirty, the native loader and library initialization code has to be fixed. |
Any progress on this issue? |
Hey, the progress is still as it stands on the previous message. Personally, I don't have windows and I will not have time to look into it in the foreseeable future. |
@jodersky actually @xl0 needs a lot, but @xl0 is mostly C++ developer so he does not understand Scala (I can help a bit but the problem is I do not have free time and I do not understand how you work with native libs). If @xl0 will manage to compile native part for windows, will you put it to the default list of native libs? |
That's no problem at all, in fact knowing C or C++ is very useful for implementing a new backend for windows. To implement a new backend, essentially all that is required is to implement the functions defined in flow.h
yes, that would be awesome! |
Hey, unfortunately I won't have time to port the backend natively. It compiles with cygwin, and for us, this would be a viable solution. |
It compiles under cygwin so in theory it should work, however you will have I can include a native binary for cygwin in an experimental release, if you
|
Hello. How can I get experimental release with native binary for cygwin? |
I never made one that worked. In flow 2.4 the library loading mechanism will be changed, making it possible to support a wider range of systems, including potentially windows. What version of windows do you have? I can build something under Cygwin, windows 10, no guarantee about backwards-compatibility though |
I have 64 and 32-bit windows 10. And can check for both systems. |
+1 for windows version, I can check for windows 8.1 |
Closing this as the build system has changed and no considerable progress has yet been made on the issue. Please see #32 for follow-up. |
A friend of mine has to demostrate spectophotometer gui for windows but I am not sure what exactly I should do to make it work for windows. I can try to install windows32 to VM and try to build native libs inside VM but it will be very time consuming for me. Maybe you already have prebuild binaries for windows 32 and windows 64 to download/install?
The text was updated successfully, but these errors were encountered: