cginternals / cppfs

Cross-platform C++ file system library supporting multiple backends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for mingw on Windows

snaiperskaya96 opened this issue · comments

Hi!
Thanks for the great job you have done so far!
Can you please add support for mingw builds on Windows?
So far i'm getting this error when trying to build.

...\ThirdParty\cppfs\source\cppfs\source\windows\LocalFileHandle.cpp:341:10: error: 'CreateSymbolicLinkA' was not declared in this scope
     if (!CreateSymbolicLinkA(dst.c_str(), src.c_str(), 0))
          ^~~~~~~~~~~~~~~~~~~

Cheers :)

🍻

Thanks for reporting, we'll have a look at this.

Please check if #13 solves this for you (the minimal windows version needed to be set)

can this be closed?