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

support Windows through dokany or winfsp #445

Open
lonnietc opened this issue Nov 27, 2022 · 4 comments
Open

support Windows through dokany or winfsp #445

lonnietc opened this issue Nov 27, 2022 · 4 comments
Labels
Feature request for a feature

Comments

@lonnietc
Copy link

Looking for a good cross-platform FUSE library that will also build with Go on Windows.

Will this one build on Windows?
Thanks

@lonnietc
Copy link
Author

After importing the library and then trying to build, I get these errors:

go build example/hello/main.go
# github.com/hanwen/go-fuse/v2/fuse
fuse\types.go:557:2: undefined: Attr
fuse\types.go:585:2: undefined: Attr
fuse\api.go:285:41: undefined: GetAttrIn
fuse\api.go:286:41: undefined: SetAttrIn
fuse\api.go:289:39: undefined: MknodIn
fuse\api.go:313:42: undefined: SetXAttrIn
fuse\api.go:319:40: undefined: CreateIn
fuse\api.go:321:38: undefined: ReadIn
fuse\api.go:330:39: undefined: WriteIn
fuse\api.go:339:41: undefined: ReadIn
fuse\api.go:339:41: too many errors

@hanwen
Copy link
Owner

hanwen commented Nov 27, 2022

AFAIK, FUSE doesn't exist on windows. Why would you try to build it on windows?

@lonnietc
Copy link
Author

I found

https://github.com/winfsp/cgofuse

and Dokany is supposed to have a wrapper for FUSE as well

https://github.com/dokan-dev/dokany

but have not tried it yet.

@hanwen
Copy link
Owner

hanwen commented Nov 28, 2022

I don't use windows. If you can get go-fuse to work with dokany or winfsp, I'm happy to review contributions.

@hanwen hanwen changed the title Will this build on Windows? support Windows through dokany or winfsp Apr 11, 2023
@hanwen hanwen added the Feature request for a feature label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request for a feature
Projects
None yet
Development

No branches or pull requests

2 participants