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

Does it work on windows? #11

Open
lightglitch opened this issue Mar 10, 2015 · 6 comments
Open

Does it work on windows? #11

lightglitch opened this issue Mar 10, 2015 · 6 comments

Comments

@lightglitch
Copy link

It would be really helpful for development because redis on windows is a pain.

@seppo0010
Copy link
Owner

I don't know. I think it should, because it doesn't use anything POSIX specific, but I don't have a Windows environment to try.

@lightglitch
Copy link
Author

I'm not a C expert so let's see if I able to compile it.

@seppo0010
Copy link
Owner

Cool, let me know how it goes.

@seppo0010
Copy link
Owner

For the record, I'm working on adding file lock, which is not the same for windows and linux/bsd.

I am creating a separated file for posix specific implementation so people can create a windows version and link against it instead, but I will not implement it myself.

As a placeholder I'm gonna leave the windows implementation empty so you can link against it, but it will not lock the file as needed.

@seppo0010
Copy link
Owner

I just spent some time trying to make it work on Windows. I could not get all the way there, but I was able to compile the project after some changes in https://github.com/seppo0010/rlite/tree/win

All the files compile now (except scripting and lua, which was going to require more effort), but I got stuck in the linking step. It was not detecting basic functions like FindFirstFile that's defined in Kernel32.lib according to https://msdn.microsoft.com/en-us/library/windows/desktop/aa364418%28v=vs.85%29.aspx

Feel free to check out the branch and try it. If you can actually compile it and use it, please report back.

screen shot 2015-03-20 at 9 31 52 pm

@lightglitch
Copy link
Author

As soon as I have time I will check it, thx for your work.

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