Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Building on Windows with XPM

Received: by 10.180.82.226 with SMTP id l2mr1048957wiy.1.1344025725816;
        Fri, 03 Aug 2012 13:28:45 -0700 (PDT)
X-BeenThere: vim_dev@googlegroups.com
Received: by 10.180.90.134 with SMTP id bw6ls1244431wib.1.canary; Fri, 03 Aug
 2012 13:28:42 -0700 (PDT)
Received: by 10.216.239.205 with SMTP id c55mr82026wer.12.1344025722492;
        Fri, 03 Aug 2012 13:28:42 -0700 (PDT)
Received: by 10.216.239.205 with SMTP id c55mr82025wer.12.1344025722477;
        Fri, 03 Aug 2012 13:28:42 -0700 (PDT)
Return-Path: <b...@moolenaar.net>
Received: from fep17.mx.upcmail.net (fep17.mx.upcmail.net. [62.179.121.37])
        by gmr-mx.google.com with ESMTP id i17si79937wiw.0.2012.08.03.13.28.42;
        Fri, 03 Aug 2012 13:28:42 -0700 (PDT)
Received-SPF: neutral (google.com: 62.179.121.37 is neither permitted nor denied by best guess record for domain of b...@moolenaar.net) client-ip=62.179.121.37;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 62.179.121.37 is neither permitted nor denied by best guess record for domain of b...@moolenaar.net) smtp.mail=b...@moolenaar.net
Received: from edge03.upcmail.net ([192.168.13.238])
          by viefep17-int.chello.at
          (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP
          id <20120803202841.UISR21251.viefep17-int.chello...@edge03.upcmail.net>;
          Fri, 3 Aug 2012 22:28:41 +0200
Received: from moolenaar.net ([84.75.9.99])
	by edge03.upcmail.net with edge
	id iLUg1j00J28CNeC03LUh0w; Fri, 03 Aug 2012 22:28:41 +0200
X-SourceIP: 84.75.9.99
X-Authenticated-Sender: b...@hispeed.ch
Received: from masaka.moolenaar.net (localhost.localdomain [127.0.0.1])
	by moolenaar.net (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id q73KSouZ010982;
	Fri, 3 Aug 2012 22:28:50 +0200
Received: from masaka.moolenaar.net (B...@Moolenaar.net)
	by masaka.moolenaar.net (8.14.4/8.14.4/Submit) with ESMTP id q73KSnNs010978;
	Fri, 3 Aug 2012 22:28:49 +0200
Message-Id: <201208032028.q73KSnNs010978@masaka.moolenaar.net>
To: Sergey Khorev <sergey.kho...@gmail.com>
In-Reply-To: <CAJWjatzkaGRdAkeMsru+DUKQRGvG6ZRHPGD=o_w6OFxsw3L...@mail.gmail.com>
Subject: Re: Building on Windows with XPM
Cc: vim_dev@googlegroups.com
From: Bram Moolenaar <B...@Moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Date: Fri, 03 Aug 2012 22:28:49 +0200
Sender: B...@Moolenaar.net


Sergey Khorev wrote:

> > Thanks.  I tried and it builds with MSVC 2008.  Don't know how to try if
> > it actually works.
> 
> Originally I did it for that Netbeans plugin which for some reason
> used only XPM icons. Commands below will show whether XPM lib is
> working or not:
> :exe 'sign define vimxpm icon='.$VIMRUNTIME.'\\vim32x32.xpm'
> :exe 'sign place 1 line=1 name=vimxpm file='.expand('%:p')

Thanks, it works (although the image is too big :-)).


> > Can you give some information about what it was build with?  I suppose
> > it only works for 32 bits builds?
> 
> Correct, the binary is 32bit only but it can be built for 64bit
> without any problems. Here are the makefiles:

I would prefer for people to be able to easily download and install the
dependencies.  It's difficult enough to build Vim already.

Perhaps you can make one zip file that contains the required header
files and the .lib files for 32 and 64 bit?

Note that depending on the license the source files need to be included
as well.  At least include a README that mentions the copyright.

-- 
hundred-and-one symptoms of being an internet addict:
207. You're given one phone call in prison and you ask them for a laptop.

 /// Bram Moolenaar -- B...@Moolenaar.net -- 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    ///