<div dir="ltr">Mikel: did you have any success building Gambit on Windows 10 using Visual Studio 2017?  I would like to do the same but I have failed.<div><br></div><div>Marc: I'd like to use Gambit (version 4.8.8 or whatever version) on Windows 10, using Visual Studio Community 2017 (which is free, like express was).  To no success, I've tried mimicking how the build works on appveyor, I've tried "make prebuilt" using the MinGW/msys environment invoked from the developer command prompt, and I've tried to build using a slightly modified misc/vc2012.bat (since I used the developer command prompt, I just removed the call to vcvarsall.bat).  I have too many failed build logs to include in this email, and I can't deduce what I'm doing wrong.</div><div><br></div><div>I would appreciate if you could tell me either 1) how to compile Gambit using "make prebuilt" (which I assume uses the MinGW environment with CC=cl.exe) or 2) if you could make an updated misc\vs2017.bat and tell me what needs to be invoked before it, i.e., do I have to run configure from the msys environment first?</div><div><br></div><div>Thanks,</div><div>Bill</div><div><br></div><div><br></div><div><br></div><div> <br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 22, 2017 at 7:44 AM, mikel evins <span dir="ltr"><<a href="mailto:mevins@me.com" target="_blank">mevins@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sounds simple enough; thanks. I'll let you know the results.<br>
<br>
Sent from my iPad<br>
<div class="HOEnZb"><div class="h5"><br>
> On Jun 21, 2017, at 4:57 PM, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote:<br>
><br>
> Not sure what the problem is.  But found this with a Google search:<br>
><br>
> <a href="https://groups.google.com/forum/#!topic/dislin-users/kagVl9LVFJA" rel="noreferrer" target="_blank">https://groups.google.com/<wbr>forum/#!topic/dislin-users/<wbr>kagVl9LVFJA</a><br>
><br>
> So if I understand correctly, you need to use the exact same C compiler that was used to build gambit-v4_8_8-windows-<wbr>visualc64.exe .<br>
><br>
> It is probably best to build Gambit yourself from source from the github repo.<br>
><br>
> Marc<br>
><br>
><br>
><br>
>> On Jun 21, 2017, at 5:41 PM, mikel evins <<a href="mailto:mevins@me.com">mevins@me.com</a>> wrote:<br>
>><br>
>> I just installed gambit-v48_8_8-windows-<wbr>visualc64.exe on a machine that has VisualStudio Community 2017 on it (with C++ for CLI tools installed). I tried a quick gsc -exe hello.scm (on a file with a simple hello world in it), and got an error message like this:<br>
>><br>
>> d:\Users\mikel\Workshop\hello-<wbr>scm>gsc -exe hello.scm<br>
>> hello.c<br>
>> hello_.c<br>
>> libgambit.lib(os_base.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function ___display_error<br>
>> libgambit.lib(os_shell.obj) : error LNK2019: unresolved external symbol _environ referenced in function ___getenv_UCS_2<br>
>> hello.exe : fatal error LNK1120: 2 unresolved externals<br>
>><br>
>> Did I overlook something obvious in the setup or compilation?<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Gambit-list mailing list<br>
>> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
>> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
><br>
______________________________<wbr>_________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
</div></div></blockquote></div><br></div>