<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">OK, I quickly pulled together a Ubuntu 21.04 virtual machine here and tested this; below are working instructions that will create a Windows installer for you<div class="">You need at least 20G of disk for this - assuming a minimum VM install</div><div class=""><br class=""></div><div class="">sudo apt install <a href="http://docker.io" class="">docker.io</a> git</div><div class="">mkdir $HOME/windows</div><div class="">cd $HOME/windows</div><div class=""><div class="">ln -s /win/mxe .         # <- yes, this looks weird... it's a step that fails in the script for some reason... just trust me</div></div><div class="">git clone <a href="git://github.com/subsurface/subsurface" class="">git://github.com/subsurface/subsurface</a></div><div class=""><div class="">sudo docker run -v $HOME/windows:/__w subsurface/mxe-build-container:2.2 /bin/bash /__w/subsurface/packaging/windows/create-win-installer.sh -64only</div></div><div class=""><br class=""></div><div class=""><div><br class=""></div><div>Still interested in the answer to "what's your goal with all this?", though.</div><div><br class=""></div><div>/D</div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 29, 2021, at 12:30 PM, Steven Morlock wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="zoom: 0%;" class=""><div dir="auto" class="">Dirk,<br class=""><br class=""></div>
<div dir="auto" class="">Thanks for your reply.  I tried to follow the instructions in packaging/windows.  I will start with a fresh machine and try to follow them again.<br class=""><br class=""></div>
<div dir="auto" class="">Regards <br class=""></div>
<div dir="auto" class="">Steve<br class=""></div>
<div class="gmail_quote">On Oct 29, 2021, at 2:18 PM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank" class="">dirk@hohndel.org</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Well, the log shows me very little of the MXE build environment that you are using. Based on the error I'm guessing that you are using a different compiler than I am...
<div class="">
 There's a reason why I am making a docker container with all the right tools available - it's incredibly painful to create a "known good" MXE build environment.
</div>
<div class="">
 <br class="">
</div>
<div class="">
 <div class="">
  Did you look at packaging/windows/README.md ? It turns out that those instructions aren't 100% accurate, but they should have gotten you a lot closer.
 </div>
 <div class="">
  <br class="">
 </div>
 <div class="">
  Of course, part of the question here is "what's your goal with all this"? Because depending on what you are actually trying to do here, the setup you want might be different.
 </div>
 <div class="">
  <br class="">
 </div>
 <div class="">
  /D
  <br class="">
  <div class="">
   <br class="">
   <blockquote type="cite" class="">
    <div class="">
     On Oct 29, 2021, at 3:58 AM, Steven Morlock via subsurface <
     <a href="mailto:subsurface@subsurface-divelog.org" class="">subsurface@subsurface-divelog.org</a>> wrote:
    </div>
    <br class="Apple-interchange-newline">
    <div class="">
     <div class="">
      <div class="ydpfc1c5fbdyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
       <div dir="ltr" data-setdir="false" class="">
        Howdy,
       </div>
       <div dir="ltr" data-setdir="false" class="">
        <br class="">
       </div>
       <div dir="ltr" data-setdir="false" class="">
          I have been trying to unsuccessfully follow guidance on how to cross-build the Windows client.  I am running on a
        <a href="http://osboxes.org/" class="">OSBoxes.org</a> 
        <span class="">Ubuntu 21.04 virtual machine.  I have followed as best I could the instructions in '<span class="">subsurface/INSTALL' and '<span class="">subsurface/packaging/windows/mxe-based-build.sh'.  </span></span>Could someone please review the enclosed 'winbuild.log' and suggest where I may have gone wrong.</span>
       </div>
       <div dir="ltr" data-setdir="false" class="">
        <br class="">
       </div>
      </div>
     </div>
    </div>
   </blockquote>
  </div>
  <br class="">
 </div>
</div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>