dokan-dev / dokan-sshfs

Dokan SSHFS
277 stars 60 forks source link

Cannot build under Win10 & VS2015 #11

Closed yaqwsx closed 8 years ago

yaqwsx commented 8 years ago

Hello,

I followed the instructions in the readme to build dokan-sshfs. I use Windows 10, Visual Studio 2015, SDK 10 and WDK 10 and I got these errors (the errors are duplicated, I post here only 2 representants):

dokan-sshfs\DokanSSHFS\Cache.cs(15,16,15,24): error CS0246: The type or namespace name 'NtStatus' could not be found (are you missing a using directive or an assembly reference?)
dokan-sshfs\DokanSSHFS\Cache.cs(95,29,95,45): error CS0738: 'CacheOperations' does not implement interface member 'IDokanOperations.CreateFile(string, FileAccess, FileShare, FileMode, FileOptions, FileAttributes, DokanFileInfo)'. 'CacheOperations.CreateFile(string, FileAccess, FileShare, FileMode, FileOptions, FileAttributes, DokanFileInfo)' cannot implement 'IDokanOperations.CreateFile(string, FileAccess, FileShare, FileMode, FileOptions, FileAttributes, DokanFileInfo)' because it does not have the matching return type of 'DokanError'.

Am I doing something wrong?

Liryna commented 8 years ago

Hi @yaqwsx ,

Sorry the dependency was not updated. I fixed it https://github.com/dokan-dev/dokan-sshfs/commit/658fa6c200dc4df01fe1d358472fa1a8be7f487e