<div dir="ltr"><div>So now not only does fbc work in the wine docker container, so does mingw64 and euphoria</div><div><br></div><div> <b>wine scons hspeak</b> actually works, and produces a working hspeak.exe (tested with <b>wine hspeak</b>)</div><div><br></div><div>compiling game and custom fails though. I see two problems so far.</div><div><br></div><div>First, when scons executes reloadbasic/reloadbasic.py on Windows, this relies on the .py file type being associated with python, so scons seems to be directly invoking <b>reloadbasic/reloadbasic.py</b> and this works on Real windows because the filetype is associated with python.exe but on Wine, this type of file association does not seem to work, even when I make sure the association is set up with regedit.</div><div><br></div><div>Editing the constructor for the rbasic_builder in Sconscript to <b>Builder (action = ["C:\Python39\python.exe", [File('reloadbasic/reloadbasic.py'), ...</b> does work and fixes the problem, so I just need to work out a clean way to do that without breaking other platforms.</div><div><br></div><div>The other error is this:</div><div><br></div><div>os_windows.bas(107) error 20: Type mismatch, before ')' in 'dim fd as integer = _open_osfhandle(cast(integer, fhandle), 0)'<br>os_windows.bas(714) warning 35(1): Mixing signed/unsigned operands<br>os_windows.bas(784) warning 35(1): Mixing signed/unsigned operands</div><div><br></div><div>Which makes me think I might have a mismatch in my FreeBasic/mingw64 versions, but I don't really know yet, just a wild guess.</div><div><br></div><div>---</div><div>James</div><div><br></div><div><br></div><div><br></div><div><br></div><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 18, 2021 at 6:55 PM <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2021-09-18 15:55:34 -0700 (Sat, 18 Sep 2021)<br>
60<br>
Docker: ohrrpgce-build-env-wine now has mingw64 and euphoria<br>
---<br>
U   wip/docker/ohrrpgce-build-env-wine/Dockerfile<br>
<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>