<div dir="ltr">Hi Nicolas<br><div class="gmail_extra"><br><div class="gmail_quote">2016-11-13 16:43 GMT-03:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</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><div dir="ltr"><div><div>Hi Hernan,<br></div>then that's going to be a problem:<br><div class="gmail_extra"><br></div>See <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9c44322e2469eef8d7c1bb57c7acd5a6795dfb1b" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/commit/<wbr>9c44322e2469eef8d7c1bb57c7acd5<wbr>a6795dfb1b</a><br><br></div></div></blockquote><div><br></div><div>I understand.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The directx 9 sdk is not even redistributable, so we might have to nuke it from the repository sooner or later.<br>And we can't either download it easily, it seems like Microsoft has an aggressive deprecation policy (maybe related to the number of security issues that they previously distributed).<br></div>I've tried more modern SDK to compile 64bits version with MSVC, but the DX9 support was not really working.<br>In longer term, we could try and port to a more modern SDK, but that's likely a more involved job...<div><br><div><div><a href="https://github.com/godotengine/godot/issues/4914" target="_blank">https://github.com/<wbr>godotengine/godot/issues/4914</a> suggests that direct-x support is optional in Mingw, so some builds have it, some not...<br></div><div>See <a href="https://sourceforge.net/p/mingw-w64/code/HEAD/tree/trunk/mingw-w64-headers/direct-x/" target="_blank">https://sourceforge.net/p/<wbr>mingw-w64/code/HEAD/tree/<wbr>trunk/mingw-w64-headers/<wbr>direct-x/</a></div></div></div></div></blockquote><div><br></div><div>Didn't found the MinGW + DirectX headers download. I read at some point DirectX libs were removed from MinGW so latest releases don't include such headers anymore.<br></div><div>However I found some other links which contains extracted headers:<br><br><a href="https://sourceforge.net/projects/mingwdx/">https://sourceforge.net/projects/mingwdx/</a><br><a href="https://github.com/lifthrasiir/w32api-directx-standalone">https://github.com/lifthrasiir/w32api-directx-standalone</a><br><a href="http://liballeg.org/download.html">http://liballeg.org/download.html</a><br><br></div><div>I guess I can try to check following some guidelines like this one : <a href="http://blog.fourthwoods.com/2011/08/11/setting-up-mingw-for-directx/">http://blog.fourthwoods.com/2011/08/11/setting-up-mingw-for-directx/</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div class="gmail_extra">I'm not sure that I understand all this mess, but could we try and see if we can fix the mingw version accessible via Msys before reverting the change?<br></div><div><div class="gmail_extra"><br></div></div></div></div></div></blockquote><div><br></div><div>Ok, I will let you know how it goes.<br><br></div><div>Cheers,<br><br></div><div>Hernán<br><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 dir="ltr"><div><div><div><div class="gmail_extra"></div><div class="gmail_extra">Cheers<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">2016-11-13 19:54 GMT+01:00 Hernán Morales Durand <span dir="ltr"><<a href="mailto:hernan.morales@gmail.com" target="_blank">hernan.morales@gmail.com</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><div dir="ltr"><div><div><div><div>I have the latest update of MinGW with all libraries and tools installed. Which "provided files" superseded the DirectX headers in the VM?<br></div><br>With help from Esteban I am trying to compile the Windows VM from this repo: <a href="https://github.com/estebanlm/opensmalltalk-vm" target="_blank">https://github.com/estebanlm/o<wbr>pensmalltalk-vm</a> branch  "merge-with-pharo-win32”<br><br>In \opensmalltalk-vm\build.win32x<wbr>86\common\Makefile the include directive does NOT include the DirectX definitions on purpose:<br></div><br>##############################<wbr>##############################<wbr>#################<br># DirectX definitions - NOT USED - superseded by mingw provided files<br>#<br>DXDIR:=     $(PLATDIR)/win32/third-party/d<wbr>x9sdk/Include<br><br>INCLUDES:= -I. -I$(VMSRCDIR) -I$(WIN32DIR) -I$(CROSSDIR) $(XINC)<br><br></div>Compiling with MSYS<br><br>opensmalltalk-vm/build.win32x8<wbr>6/pharo.cog.spur/mvm -f <br><br>Causes compilation to fail finding dinput.h<br><br>../../platforms/win32/vm/sqWin<wbr>32DirectInput.c:37:20: dinput.h: No such file or directory<br>...<br>make: *** [build/vm/sqWin32DirectInput.o<wbr>] Error 1<br><br><br><br></div>Now I added the DXDIR include to "fix" the issue:<br><div><br>INCLUDES:= -I. -I$(VMSRCDIR) -I$(WIN32DIR) -I$(CROSSDIR) -I$(DXDIR) $(XINC)<br><br><br></div><div>Cheers,<br><br></div><div>Hernán<br><br></div><br></div>
<br></blockquote></div><br></div></div></div></div></div>
<br></blockquote></div><br></div></div>