On Mon, Jan 11, 2016 at 9:37 PM, Christian Brabandt <cbli...@256bit.org>
wrote:

> Hi Yukihiro!
>
> On Mo, 11 Jan 2016, Yukihiro Nakadaira wrote:
>
> > On Mon, Jan 11, 2016 at 8:52 PM, Christian Brabandt <cbli...@256bit.org>
> wrote:
> >
> >     Hi Yukihiro!
> >
> >     On So, 10 Jan 2016, Yukihiro Nakadaira wrote:
> >
> >     > On Sun, Jan 10, 2016 at 3:31 AM, Sergey Khorev <
> sergey.kho...@gmail.com>
> >     wrote:
> >     >
> >     >     Yukihiro-san,
> >     >
> >     >     I gave up on catching up Racket updates in if_mzscheme so the
> >     interface has
> >     >     been broken for some time now. Your patch seems to finally fix
> the
> >     issues I
> >     >     encounterred (tested on Arch successfully), many thanks for
> that.
> >     >
> >     >
> >     >
> >     >             With this change, test70 still fails because test70
> uses r5rs
> >     >             module and Minimal
> >     >             Racket doesn't have it.
> >     >
> >     >
> >     >         This was solved by
> >     >         raco.exe pkg install scheme-lib
> >     >         raco.exe pkg install r5rs-lib
> >     >
> >     >
> >     >
> >     >     Don't you think this should be included in the documentation?
> >     >
> >     >
> >     > Thank you for your suggestion.  I have added documentation for it.
> >     >
> >     > ```
> >     > 8. MzScheme setup        *mzscheme-setup*
> >     >
> >     > Vim requires "scheme/base" module for if_mzsch core, "r5rs" module
> for
> >     test
> >     > and "raco ctool" command for building Vim.  If MzScheme did not
> have
> >     them, you
> >     > can install them with MzScheme's raco command:
> >     >
> >     >   raco pkg install scheme-lib       # scheme/base module
> >     >   raco pkg install r5rs-lib         # r5rs module
> >     >   raco pkg install cext-lib         # raco ctool command
> >     > ```
> >
> >
> >     Thanks for that. Is it possible, to build scheme with
> DYNAMIC_SCHEME=yes
> >     on Windows? I tried it, but it failed for me. Not sure if it still
> >     possible at all.
> >
> >
> > Yes, DYNAMIC_MZSCHEME should work.  If Racket is installed in
> C:\Racket63,
> > build command is
> >
> > nmake -f Make_mvc.mak MZSCHEME=C:\Racket63 MZSCHEME_VER=3m_9z0ds0
> > DYNAMIC_MZSCHEME=yes
> >
> > MZSCHEME is install path.
> > MZSCHEME_VER is version number of C:\Racket63\lib\libracketXXXXXX.dll.
>
> Tried that. I see those errors:
>         cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32
>  -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0400
> -D_WIN32_WINNT=0x0400  /Fo.\ObjGXZi386/ /Ox /GL -DNDEBUG  /Zl /MT
> -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DDYNAMIC_ICONV
> -DDYNAMIC_GETTEXT -DFEAT_MZSCHEME -I C:\racket63\\include
> -DINCLUDE_MZSCHEME_BASE -DDYNAMIC_MZSCHEME
> -DDYNAMIC_MZSCH_DLL=\"libracket3m_9z0ds0.dll\"
> -DDYNAMIC_MZGC_DLL=\"libmzgc3m_9z0ds0.dll\" -DFEAT_huge /Fd.\ObjGXZi386/
> /Zi if_mzsch.c  -DMZSCHEME_COLLECTS=\"C:\\racket63\\\\collects\"
> if_mzsch.c
> if_mzsch.c(371) : warning C4005: 'scheme_current_thread' : macro
> redefinition
>         c:\racket63\include\schthread.h(645) : see previous definition of
> 'scheme_current_thread'
> if_mzsch.c(871) : fatal error C1189: #error :  Precise GC v.4+ or Racket
> with futures/places do not support dynamic MzScheme
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
> And even after uncommenting the Precise GC error I see link errors:
> if_mzsch.obj : error LNK2001: unresolved external symbol
> __imp__scheme_register_embedded_load
> if_mzsch.obj : error LNK2001: unresolved external symbol
> __imp__scheme_register_tls_space
> if_mzsch.obj : error LNK2001: unresolved external symbol
> __imp__scheme_embedded_load
> if_mzsch.obj : error LNK2001: unresolved external symbol
> __imp__scheme_main_setup
> gvim.exe : fatal error LNK1120: 4 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 12.0\VC\BIN\link.EXE"' : return code '0x460'
> Stop.
>

It seems that my patch is not applied correctly.
Please try latest patch if_mzscheme4.diff in this post
https://groups.google.com/d/msg/vim_dev/qg7R7HeGq50/5Xl8uLdMBAAJ

-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui