Hi, Are you setting the "CC" or "CXX" environment variables? Can you describe the steps (and the environment) you are using to build Vim using MingW?
- Yegappan On Tue, Jun 14, 2022 at 12:02 PM Christian J. Robinson <[email protected]> wrote: > > In file included from vim.h:279, > from alloc.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/alloc.o] Error 1 > make: *** Waiting for unfinished jobs.... > In file included from vim.h:279, > from arabic.c:31: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/arabic.o] Error 1 > In file included from vim.h:279, > from arglist.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/arglist.o] Error 1 > In file included from vim.h:279, > from autocmd.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/autocmd.o] Error 1 > In file included from vim.h:279, > from beval.c:11: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1294: gobjx86-64/beval.o] Error 1 > In file included from vim.h:279, > from blob.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/blob.o] Error 1 > In file included from vim.h:279, > from blowfish.c:22: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/blowfish.o] Error 1 > In file included from vim.h:279, > from buffer.c:28: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/buffer.o] Error 1 > In file included from vim.h:279, > from bufwrite.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/bufwrite.o] Error 1 > In file included from vim.h:279, > from change.c:14: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/change.o] Error 1 > In file included from vim.h:279, > from charset.c:10: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/charset.o] Error 1 > In file included from vim.h:279, > from cindent.c:18: > os_win32.h:16:11: fatal error: direct.h: No such file or directory > 16 | # include <direct.h> // for _mkdir() > | ^~~~~~~~~~ > compilation terminated. > make: *** [Make_cyg_ming.mak:1222: gobjx86-64/cindent.o] Error 1 > > -- > Christian J. Robinson <[email protected]> > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7nsM2-DFsEfkbhWZbjPrvcs14RmK5FggQzQW3HtdgmF3A%40mail.gmail.com.
