On Fri, Oct 9, 2015 at 9:46 AM, KF Leong <[email protected]> wrote:
> On Friday, September 25, 2015 at 7:20:40 AM UTC+8, tux. wrote:
>> I tried to compile Vim with Racket (Make_mvc.mak) and Visual Studio
>> 2010. However, it seems that somewhere the path is not properly
>> escaped.
>>
>> Racket is installed to C:\Program Files (x86)\Racket, I set LIBRACKET
>> to the correct version (3m_9yeyy0 currently, this is also a part of
>> the library's file name as intended). Then I tried to do this:
>>
> I installed Racket to C:\Racket and set MZSCHEME="C:\Racket" and it compiles 
> OK and linked. (Using VS 2010)
>
>> > nmake /C /S /f Make_mvc.mak CPU=i386 DEBUG=no SNIFF=yes
>> > FEATURES=HUGE MBYTE=yes CSCOPE=yes IME=yes GIME=yes GUI=yes OLE=no
>> > MZSCHEME="%PROGRAMFILES(X86)%\Racket" DYNAMIC_MZSCHEME=no
>> > MZSCHEME_MAIN_LIB=racket MZSCHEME_VER=%LIBRACKET%
>>
>> However, it horribly fails:
>>
>> > ...
>> > Processing C:\Program Files (x86)\Microsoft 
>> > SDKs\Windows\v7.0A\include\objidl.idl
>> > objidl.idl
>> > Processing C:\Program Files (x86)\Microsoft 
>> > SDKs\Windows\v7.0A\include\oaidl.acf
>> > oaidl.acf
>> > Der Befehl "C:\Program" ist entweder falsch geschrieben oder konnte nicht 
>> > gefunden werden.
>> > NMAKE :  U1077: "C:\Program": Rückgabe-Code "0x1"
>> > Stop.
>>
> If MZSCHEME includes spaces, somehow the compilation fails...
>
> Hope this helps.
>
> KF

On Windows, it may sometimes help to enclose that kind of path in
double quotes; but often an even safer method is to bypass the
"spaces" problem entirely by replacing the problematic parts of the
path/filename by their 8.3 equivalents (at least on FAT filesystems;
I'm less familiar with the details of NTFS filesystems). If these
paths have indeed 8.3 equivalents, it may be easier for you to use
something like
    C:\PROGRA~2\MICROS~1\Windows\v7.0A\include\objidl.idl
etc. — after making sure what exactly these equivalents are: Vim may
help you determine them, see
    :help expand()
    :help fnamemodify()
    :help filename-modifiers
Such 8.3 names (PROGRA~2 and MICROS~1 in the example above) never
contain spaces.


Best regards,
Tony.

-- 
-- 
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 because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui