On Tue, 20 Nov 2012, Steve Hall wrote:

On Tue, Nov 20, 2012 at 4:53 PM, Christian J. Robinson
<[email protected]> wrote:

I was able to get Make_ming.mak to compile a native Windows gvim.exe using Cygwin's MinGW packages as long as I don't try to include Ruby.

When I try to include Ruby I get the following errors:
[...]

I've been seeing this for a year with a Cygwin GCC build, starting with the Ruby 1.9 series. Something changed so that Vim's build no longer finds the necessary Ruby libraries, for me starting with ruby.h. I've spent hours (one today!), but never could track it down.

I think in my case it's not a problem of finding the libraries (or includes) but that the .h files included for Ruby have "collisions" with files already included by Cygwin's standard .h files, so the compile errors out.

I did some Googling, and found that this problem doesn't only exist with compiling Vim, and someone suggested that it's the fault of the Ruby .h files, which should only be defining these things if they're not already defined. If this is the case, I wonder if the Vim sources could somehow be tweaked to work around this problem. My C is getting increasingly rusty, and my competence was never beyond a beginner's level anyway, so at this point I'm not really sure how to attempt it.

- Christian

--
    "If you choose not to decide, you still have made a choice."  -- Rush
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

--
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

Raspunde prin e-mail lui