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

Has anyone attempted a windows build? #64

Open
AlessandroAU opened this issue Mar 29, 2019 · 3 comments
Open

Has anyone attempted a windows build? #64

AlessandroAU opened this issue Mar 29, 2019 · 3 comments

Comments

@AlessandroAU
Copy link

I got successful build on Linux, but I would really like windows binaries so I can use GLIP with LabView.

I tried building with Cygwin and also cross-compling with mingw32 in Linux but I always end up getting stuck at some include file or unhelpful errors.

Has anyone done this? It is possible?

Regards,
Alessandro

@AlessandroAU AlessandroAU changed the title Any anyone attempted a windows build? Has anyone attempted a windows build? Mar 29, 2019
@imphil
Copy link
Member

imphil commented Mar 29, 2019

No, I don't know of anybody who used GLIP on Windows. Your success will also depend on the backend you're trying to use.

First of all, don't cross-compile. A next step might be using something like msys2 to simplify the transition by having POSIX APIs available. You could also try using the new WSL on Windows 10. Beyond that I'd expect some Linux-only features to be used in GLIP which might not be available in a pure-POSIX environment. I'd hope that this would be a trivial code change in most places, but you'd never know ...

I'd encourage you to give it a try and see how far you get. Please report any bugs or errors you find and we might be able to help you out finding a good solution for particular issues.

@AlessandroAU
Copy link
Author

Much the same results with msys2.

At least the following are missing in windows

syslog.h
netdb.h
sys/wait.h

@imphil
Copy link
Member

imphil commented Mar 29, 2019

You'll need to work through these one by one to see what functions from that header are actually used, and how you could replace them with cross-platform code.

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