Wednesday, July 24, 2013

Re: Vim, win64, mingw, compiling HEAD, xpm trouble ?


On Jul 24, 2013 2:28 PM, "Marc Weber" <marco-oweber@gmx.de> wrote:
>
> I'm trying to reproduce a Vim Python related encoding bug in my
> UltiSnips fork which was reported.
>
> Therefore I need to compile Vim x64 on Windows.
>
>     jx86-64/xpm_w32.o gobjx86-64/gui.o gobjx86-64/gui_w32.o gobjx86-64/gui_beval.o g
>     objx86-64/os_w32exe.o -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl 32 -lversion -L xpm/x64/lib -lXpm -lole32 -luuid mingw32-make[1]: Leaving directory
>     `C:/MinGW/msys/1.0/home/m/vim2/src/GvimExt'
>     gobjx86-64/xpm_w32.o:xpm_w32.c:(.text+0x59): undefined reference to `XpmReadFileToImage'
>     gobjx86-64/xpm_w32.o:xpm_w32.c:(.text+0xb8): undefined reference to `XDestroyImage'
>     collect2: ld gab 1 als Ende-Status zur?ck
>     mingw32-make: *** [gvim.exe] Error 1
>
> command I used for compiling
>
> $ mingw32-make.exe -f Make_ming.mak ARCH=x86-64 FEATURES=BIG GUI=yes
> OLE=no NETBEANS=no PYTHON="c:/Python27" DYNAMIC_PYTHON=yes PYTHON_VER=27
> PYTHON3="c:/Python33" DYNAMIC_PYTHON3=yes PYTHON3_VER=33 -j2
>
> With XPM=no then I get "xpm.h" not found. Version: fresh hg clone
>
> Is this the supposed way to compile Vim on Windows ?

I use similar (some VAR=val pairs are not present, some more are there, but make -f uses the same file) for cross-compiling vim for windows on my Gentoo system: https://sourceforge.net/p/vimpluginloader/dev-tools/ci/default/tree/build.zsh.

> Marc Weber
>
> --
> --
> You received this message from the "vim_use" 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_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: