<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">Hi,</div>
<div class=""><br class="">
</div>
<div class="">I saw on the mcstas website that 2.4.1 is running on OS 10.13 …</div>
<div class="">When trying it on my MBP I’ll get pretty far but the C-compiler crashes with the following message:</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px;" class=""><!--StartFragment-->Instrument opened: topaz_asbuilt.instr</div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">INFO: No output directory specified (--dir)</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">INFO: Using directory: "topaz_asbuilt_20180319_111039"</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">INFO: Recompiling: ./topaz_asbuilt.out</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">INFO: Using existing c-file: ./topaz_asbuilt.c</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">mccode-r.h:39:18: fatal error: math.h: No such file or directory</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">compilation terminated.</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">Traceback (most recent call last):</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcgui/../mccodelib/../../../bin/../tools/Python/mcrun/mcrun.py", line 362, in <module></span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">main()</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcgui/../mccodelib/../../../bin/../tools/Python/mcrun/mcrun.py", line 284, in main</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">mcstas.prepare(options)</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 173, in prepare</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">Process(<a href="http://options.cc" class="">options.cc</a>).run(args)</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">File "/Applications/McStas-2.4.app/Contents/Resources/mcstas/2.4/tools/Python/mcrun/mccode.py", line 80, in run</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">raise ProcessException(self.executable, args, retval)</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class="">mccode.ProcessException: Got exit status 1 from "gcc -o ./topaz_asbuilt.out ./topaz_asbuilt.c -lm -UUSE_MPI -g -O2 -lm -headerpad_max_install_names </span><font color="#ff0000" class="">“</font><!--EndFragment--></div>
</div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class=""><br class="">
</span></div>
<div style="margin: 0px;" class=""><span style=" color:#ff0000;" class=""><br class="">
</span></div>
<div style="margin: 0px;" class="">I tried to find out what’s wrong but failed…</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class="">Any suggestion how to fix that problem?</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class="">Thanks,</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""> Uli</div>
<div style="margin: 0px;" class=""><br class="">
</div>
</body>
</html>