<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-05 12:29 GMT+02:00 Cyril Ferlicot D <span dir="ltr"><<a href="mailto:cyril@ferlicot.me" target="_blank">cyril@ferlicot.me</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 05/04/2018 07:36, Nicolas Cellier wrote:<br>
> Good idea.<br>
> Perhaps we should add the preinstalled libraries in .appveyor.yml to<br>
> begin with.<br>
><br>
> Then i suspect you get same problem as gcc:<br>
>     which cmake<br>
> Don't you have another one installed?<br>
><br>
<br>
Hi Nicolas,<br>
<br>
Executing `which cmake` in my cygwin return:<br>
<br>
/cygdrive/c/cygwin/bin/cmake<br>
<br>
Which seems correct since I install it on C:\cygwin on this computer.<br>
<br>
> It looks like the path is not correctly set. I do not understand why, i<br>
> have concurrent cmake installed and they don't interfere.<br>
><br>
> Do you launch the build from a cygwin terminal?<br>
><br>
<br>
If it can help, here is what I do to build the VM:<br>
<br>
- I delete my current cygwin folder<br>
- I launch the batch to reinstall cygwin (the one I shared in my<br>
previous email) to install it in C:\cygwin<br>
- I launch the newly installed Cygwin (C:\cygwin\Cygwin.bat)<br>
- I execute `export PATH=/cygdrive/c/cygwin/bin:$<wbr>PATH` to add the newly<br>
installed packages to the path.<br>
- I move to the pharo.cog.spur folder in cygwin<br>
- I launch `./mvm`<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br></div></div></blockquote><div><br></div><div>Hi Cyril, I am so happy some one got this working (I have the impression, esteban is the only one who can build a windows vm :( )<br><br></div><div>Here are my attemps<br><a href="http://forum.world.st/PharoSpur32Vm-tp4930245p4956228.html">http://forum.world.st/PharoSpur32Vm-tp4930245p4956228.html</a><br><br></div><div>I tried to recreate the appveyor environment locally to be able to build the vm, like it is done on the build server.<br></div><div>This works fine for the squeak vm, but not for pharo.<br></div><div>Whatever I tried, it always fails to build the third-party libs (starting with pkg-config).<br></div><div>first, it can not find the proper gcc to use. My cygwin-environment has i686-w64-mingw32-gcc<br></div><div>and this is what is set in "Makefile.tools"<br><br>TOOLPREFIX:=i686-w64-mingw32-<br><br>#############################################################################<br># C compiler settings (gcc 4.x)<br>#<br>ifeq ($(COMPILER_TO_USE),)<br>COMPILER_TO_USE:=gcc<br>endif<br><br>ifeq ($(COMPILER_TO_USE),clang)<br>CC:= $(TOOLPREFIX)clang<br>CXX:= $(TOOLPREFIX)clang++<br>else<br>CC:= $(TOOLPREFIX)gcc<br>CXX:= $(TOOLPREFIX)g++<br>endif<br><br></div><div>so it should set the CC to use <br></div><div>
i686-w64-mingw32-gcc

<br><br></div><div>but the configure script of pkg-config, complains about "no suitable gcc found"<br><br></div><div>How did you get this to work ?<br><br><br></div><div>(If I change the Makefile of pkg-config, to set the CC hardcoded to 
i686-w64-mingw32-gcc, the configuring works<br></div><div>but it fails linking pkg-config, because it can not find libglib-2.0, although this is set in the environment).<br><br></div><div>There MUST be a way to do this, or how is it done at the biuld-server ? I see the recent windows-builds succeeded, but I can<br></div><div>not see where the third-party libs are build. <br><br><br></div><div><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
--<br>
Cyril Ferlicot<br>
<a href="https://ferlicot.fr" rel="noreferrer" target="_blank">https://ferlicot.fr</a><br>
<br>
</div></div></blockquote></div><br></div></div>