Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM Compilation in windows

I am interested in compiling windows for Python25 support but when I

make -f Make_ming.mak gvim.exe

I get the following (_MAX_PATH undeclared):

gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DHAVE_PATHDEF -DFEAT_BIG -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -w -march=i386 -Wall -DFEAT_PYTHON -I c:/Python25/include -DDYNAMIC_PYTHON -DYNAMIC_PYTHON_DLL=\"python25.dll\" -O3 -fomit-frame-pointer -freg-struct-return -s fileio.c -o gobj/fileio.o
fileio.c: In function `buf_modname':
fileio.c:5877: error:_MAX_PATH' undeclared (first use in this function)
fileio.c:5877: error: (Each undeclared identifier is reported only once 
fileio.c:5877: error: for each function it appears in.) 
fileio.c: In function `vim_tempname':
fileio.c:6832: error: `_MAX_PATH' undeclared (first use in this function)
make: *** [gobj/fileio.o] Error 1

Any ideas? What am I missing?

Thanks.

like image 423
Luis Avatar asked Sep 19 '26 21:09

Luis


1 Answers

I don't how to fix your problem myself, but I followed this video tutorial to do exactly what you are trying and it worked like a charm:

http://showmedo.com/videotutorials/video?name=1850010&fromSeriesID=185.

like image 139
technomalogical Avatar answered Sep 23 '26 12:09

technomalogical



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!