Cesar Romani wrote:

> On 14/10/2018 09:25 a.m., Bram Moolenaar wrote:
>  >
>  > Patch 8.1.0474
>  > Problem:    Directory where if_perl.c is written is inconsistent.
>  > Solution:   use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540)
>  > Files:         src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak
> 
> Compiling on Windows 7 with MinGW, I get:
> 
> --------------------
> [...]
> gcc -c -Iproto -DWIN32 [...] auto/if_perl.c -o gobjZi686/if_perl.o
> if_perl.xs:38:10: fatal error: vim.h: No such file or directory
>   #include "vim.h"
>            ^~~~~~~
> compilation terminated.
> make: *** [gobjZi686/if_perl.o] Error 1
> Error by compiling gvim.exe
> --------------------

Does it help to add -Iauto to the build command?

-- 
hundred-and-one symptoms of being an internet addict:
202. You're amazed to find out Spam is a food.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui