<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hi,</p>
    <p>we tracked the error down to the use of Freesurfer 7 instead of
      Freesurfer 6.<br>
      <br>
      mri2mesh uses mris_convert from freesurfer to convert the the
      freesurfer surfaces to .stl-files. Up to version 6, mris_convert
      wrote ascii .stl-files; since freesurfer 7, it writes only binary
      .stl-files. Because meshfix can only read ascii stl-files, it
      crashes.<br>
      <br>
      So, for now, the work around is to use Freesurfer 6.0.1...</p>
    <p>Hope this helps.</p>
    <p>Best regards,<br>
      <br>
      Axel<br>
      <br>
      <br>
      <br>
    </p>
    <div class="moz-cite-prefix">On 12/9/2020 5:27 PM, Smyk, Nathan
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BL0PR04MB49475CACD2499D9A38EC5875C1CC0@BL0PR04MB4947.namprd04.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Good morning Valerie,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">This is a long shot e-mail! My name is Nate
          Smyk, and I’m working at the University of Pennsylvania in
          neuroimaging, and I am having the same issue with Simnibs that
          you had reported here:
          <a
href="https://mailman.drcmr.dk/pipermail/simnibs-discuss/2020-May/000051.html"
            moz-do-not-send="true">
https://mailman.drcmr.dk/pipermail/simnibs-discuss/2020-May/000051.html</a>.
          I saw Axel responded saying Mac Catalina might be the issue
          (which I am also running on now). Did you happen to find a fix
          for this fseek issue? Any insight would be GREATLY
          appreciated!!!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:black">ERROR- fseek<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:black">/Users/guilherme/simnibs_supporting/meshfix/contrib/JMeshLib/src/MESH_STRUCTURE/io.cpp:1335<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:black">failed.exiting mri2mesh after error<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best,<o:p></o:p></p>
        <p class="MsoNormal">Nate Smyk<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Simnibs-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Simnibs-discuss@drcmr.dk">Simnibs-discuss@drcmr.dk</a>
<a class="moz-txt-link-freetext" href="https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss">https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Dr. Axel Thielscher
Associate Professor
Danish Research Center for Magnetic Resonance
Copenhagen University Hospital Hvidovre
DK-2650 Hvidovre, Denmark
<a class="moz-txt-link-abbreviated" href="http://www.drcmr.dk">www.drcmr.dk</a>
&
Department of Health Technology
Technical University of Denmark
DK-2800 Kgs. Lyngby
<a class="moz-txt-link-freetext" href="http://www.healthtech.dtu.dk/">http://www.healthtech.dtu.dk/</a></pre>
  </body>
</html>