I tried to build Vifm by two different ways from this page (https://wiki.vifm.info/index.php/Obtaining_Vifm). But I am failed.
1) Using MXE (on GNU/Linux)
During building MXE toolchains I got errors about no rules for "mingwrt" and "w32api" targets.
I built MXE without these targets and when I tried to build Vifm I got errors about absent "ws2_32" and "netapi"
2) Using MinGW
I prepared full environment for building: downloaded mingw from the link, downloaded, patched and built PDCurses, downloaded pthreads and regex.
But when I tried to build Vifm I got error:
In file included from cmd_completion.c:30:
compat/dtype.h:27:2: error: expected identifier before '(' token
DT_BLK,
^~~~~~
cmd_completion.c: In function 'complete_highlight_groups':
cmd_completion.c:639:6: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration]
if(strncasecmp(str, expr, len) == 0)
^~~~~~~~~~~
Makefile.win:147: recipe for target 'cmd_completion.o' failed
mingw32-make: *** [cmd_completion.o] Error 1
Could you help me to fix one of these way to build Vifm for Windows? Or could you give me one more way or some advice how to do it?