Loading ...
Sorry, an error occurred while loading the content.
 

Build issue: Cannot find xpm.h

Expand Messages
  • David Fishburn
    I use a batch file for building Vim. Ran it last about 2 weeks ago. Just trying to test on of Bram s patches. I updated via: C: OpenSrc C: Program
    Message 1 of 3 , Nov 20, 2012
      I use a batch file for building Vim.
      Ran it last about 2 weeks ago.

      Just trying to test on of Bram's patches.

      I updated via:
      C:\OpenSrc>"C:\Program Files\Mercurial\hg.exe" clone https://vim.googlecode.com/hg/  vim


      On Windows 7 (64-bit).
      I get the following:
      ...
              cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE -D
      FEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo
      .\ObjGOLYi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_GUI_W32 -DDYNAMIC_ICO
      NV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON  -DDYNAMIC_PYTHON_DLL=\"pyth
      on27.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl510.dll\" -DFEAT_
      BIG /Fd.\ObjGOLYi386/ /Zi -I C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\include -I C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\..
      \include xpm_w32.c
      xpm_w32.c
      xpm_w32.c(31) : fatal error C1083: Cannot open include file: 'xpm.h': No such file or directory
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
      Stop.


      So something changed in the last couple of weeks related to this?

      I read up on :h configure-netbeans

      On MS-Windows:
      --------------

      The Win32 support is now in beta stage.

      To use XPM signs on Win32 (e.g. when using with NetBeans) you can compile
      XPM by yourself or use precompiled libraries from http://iamphet.nm.ru/misc/


      Those are the XPM files I am using and they are from 2004.

      Any ideas?

      Thanks,
      Dave

      --
      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
    • Christian Brabandt
      ... There were some patches, regarding an xpm header file. See the thread starting here: http://groups.google.com/group/vim_dev/msg/18797fd7a6870517 See also
      Message 2 of 3 , Nov 20, 2012
        On Tue, November 20, 2012 17:21, David Fishburn wrote:
        > I use a batch file for building Vim.
        > Ran it last about 2 weeks ago.
        >
        > Just trying to test on of Bram's patches.
        >
        > I updated via:
        > C:\OpenSrc>"C:\Program Files\Mercurial\hg.exe" clone
        > https://vim.googlecode.com/hg/ vim
        >
        >
        > On Windows 7 (64-bit).
        > I get the following:
        > ...
        > cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32
        > -DFEAT_CSCOPE -D
        > FEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DWINVER=0x0400
        > -D_WIN32_WINNT=0x0400
        > /Fo
        > .\ObjGOLYi386/ /Ox /GL -DNDEBUG /Zl /MT -DFEAT_OLE -DFEAT_GUI_W32
        > -DDYNAMIC_ICO
        > NV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON
        > -DDYNAMIC_PYTHON_DLL=\"pyth
        > on27.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl510.dll\"
        > -DFEAT_
        > BIG /Fd.\ObjGOLYi386/ /Zi -I
        > C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\include -I
        > C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\..
        > \include xpm_w32.c
        > xpm_w32.c
        > xpm_w32.c(31) : fatal error C1083: Cannot open include file: 'xpm.h': No
        > such file or directory
        > NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
        > Studio
        > 10.0\VC\BIN\cl.EXE"' : return code '0x2'
        > Stop.
        >
        >
        > So something changed in the last couple of weeks related to this?
        >
        > I read up on :h configure-netbeans
        >
        > On MS-Windows:
        > --------------
        >
        > The Win32 support is now in beta stage.
        >
        > To use XPM signs on Win32 (e.g. when using with NetBeans) you can compile
        > XPM by yourself or use precompiled libraries from
        > http://iamphet.nm.ru/misc/
        >
        >
        > Those are the XPM files I am using and they are from 2004.
        >
        > Any ideas?

        There were some patches, regarding an xpm header file. See the thread
        starting here:
        http://groups.google.com/group/vim_dev/msg/18797fd7a6870517

        See also patch 7.3.622, 7.3.639, 7.3.653 and 7.3.655

        regards,
        Christian

        --
        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
      • David Fishburn
        Thanks for the link Christian. Change my env variable to: IF NOT DEFINED VIM_XPM_DIR SET VIM_XPM_DIR=xpm x86 from: IF NOT DEFINED VIM_XPM_DIR SET
        Message 3 of 3 , Nov 20, 2012
          Thanks for the link Christian.

          Change my env variable to:
          IF NOT DEFINED VIM_XPM_DIR SET VIM_XPM_DIR=xpm\x86
          from:
          IF NOT DEFINED VIM_XPM_DIR SET VIM_XPM_DIR=C:\full\path\to\file\XPM_support_for_Netbeans\xpm-4.2.0


          Worked, as I build for Windows 32bit.

          I haven't ventured into finding Perl and Python for 64 bit yet as I already have to twiddle the different Perl versions on win32 to get it working.

          Thanks,
          David



          On Tue, Nov 20, 2012 at 11:37 AM, Christian Brabandt <cblists@...> wrote:
          On Tue, November 20, 2012 17:21, David Fishburn wrote:
          > I use a batch file for building Vim.
          > Ran it last about 2 weeks ago.
          >
          > Just trying to test on of Bram's patches.
          >
          > I updated via:
          > C:\OpenSrc>"C:\Program Files\Mercurial\hg.exe" clone
          > https://vim.googlecode.com/hg/  vim
          >
          >
          > On Windows 7 (64-bit).
          > I get the following:
          > ...
          >         cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32
          > -DFEAT_CSCOPE -D
          > FEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0400
          > -D_WIN32_WINNT=0x0400
          >  /Fo
          > .\ObjGOLYi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_GUI_W32
          > -DDYNAMIC_ICO
          > NV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON
          >  -DDYNAMIC_PYTHON_DLL=\"pyth
          > on27.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl510.dll\"
          > -DFEAT_
          > BIG /Fd.\ObjGOLYi386/ /Zi -I
          > C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\include -I
          > C:\download\OpenSrc\vim\XPM_support_for_Netbeans\xpm-4.2.0\..
          > \include xpm_w32.c
          > xpm_w32.c
          > xpm_w32.c(31) : fatal error C1083: Cannot open include file: 'xpm.h': No
          > such file or directory
          > NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
          > Studio
          > 10.0\VC\BIN\cl.EXE"' : return code '0x2'
          > Stop.
          >
          >
          > So something changed in the last couple of weeks related to this?
          >
          > I read up on :h configure-netbeans
          >
          > On MS-Windows:
          > --------------
          >
          > The Win32 support is now in beta stage.
          >
          > To use XPM signs on Win32 (e.g. when using with NetBeans) you can compile
          > XPM by yourself or use precompiled libraries from
          > http://iamphet.nm.ru/misc/
          >
          >
          > Those are the XPM files I am using and they are from 2004.
          >
          > Any ideas?

          There were some patches, regarding an xpm header file. See the thread
          starting here:
          http://groups.google.com/group/vim_dev/msg/18797fd7a6870517

          See also patch 7.3.622, 7.3.639, 7.3.653 and 7.3.655

          regards,
          Christian

          --
          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 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
        Your message has been successfully submitted and would be delivered to recipients shortly.