macanjang / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Can't compile with win 8 and Vs 2012 #288

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download Source code, and WDK (Version 8 since that's the newest) as 
directed to in how-to Build, install WDK
2. In Visual Studio 2012 Ultimate Click File > Open > Convert Sources/Dirs...
3. Browse to dirs file from downloaded source, and open
4. Build the newly created solution.

What is the expected output? What do you see instead?
Expected: Solution to build
Actual: 22 different errors

What version of the product are you using? On what operating system?
0.6.0 Windows 8.

Please provide any additional information below.

Any chance the Source code could be upgraded to VS 2012, so that I can do some 
additional work on it for other projects?  I'd really like to not start a 
project from scratch on this.  I'm not a C++ genius and I'm not really sure how 
to make this work upgrade work.

Original issue reported on code.google.com by mbul...@gmail.com on 23 Jul 2013 at 9:55

GoogleCodeExporter commented 8 years ago
Hi,

I'm no expert either but i applied some fixes to make it work on win8 + vs2012.
they are on the attached patch.

In addition if you have issues with Link errors like i had - you need to 
specify the correct path to dokan.lib in Linker->Input->Additional Dependencies 
for the specific modules you have issue with.

for example in my case:
I had issues with mirror and dokanctl so I just added something like: 
"..\dokan\Win8Release\x86\dokan.lib" to Dependencies.

Good Luck!

Original comment by Shira...@gmail.com on 7 Oct 2013 at 10:27

Attachments: