<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:427580456;
        mso-list-template-ids:1749169650;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:2142503312;
        mso-list-template-ids:1350306048;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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]--></head><body lang=DE link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Hello,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>I'm trying to (cross) compile SCIP/Soplex 8.0.0-beta with MinGW. It builds fine but the resulting scip.exe hangs after reading the lp file:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'> $<i>scip.exe -f some.lp</i> <o:p></o:p></span></p><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>SCIP version 8.0.0 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 6.0.0] [GitHash: ba0175573a]</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span style='font-size:12.0pt;color:black'>Copyright (C) 2002-2021 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)</span></i><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>External libraries:</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>  SoPlex 6.0.0         Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: 040e3435]</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>user parameter file <scip.set> not found - using default parameters</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>read problem <some_path/some.lp></span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>============</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Same happens with the queens example as well as SCIP 7.0.3. Based on limited printf debugging the hang seems to be somewhere in the plugin initialization but it might be that memory is corrupted earlier.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Has anyone experience with SCIP and mingw?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>I know that SCIP can be built with Visual C++, but that has other disadvantages - starting with the lack of OpenMP > 2.0 (-> no parallel solving of bender subproblems).<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Setup:<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoListParagraph style='color:black;margin-left:0cm;mso-list:l0 level1 lfo1'><span style='font-size:12.0pt'>debian bullseye<o:p></o:p></span></li><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'><span lang=EN-US style='font-size:12.0pt'>mingw from the official package sources (g++-mingw-w64-x86-64)<o:p></o:p></span></li><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'><span lang=EN-US style='font-size:12.0pt'>cmake .. -DCMAKE_TOOLCHAIN_FILE=some/path/mingw_toolchain.cmake -DPAPILO=off -DZIMPL=off -DREADLINE=off -DZLIB=off -DIPOPT=off -DQUADMATH=off -DGMP=off -DEXPRINT=none -DAMPL=off -DGCG=off<o:p></o:p></span></li><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'><span style='font-size:12.0pt'>make scip<o:p></o:p></span></li><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'><span style='font-size:12.0pt'>mingw_toolchain.cmake:<o:p></o:p></span></li></ul><div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_SYSTEM_NAME Windows)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc-posix)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++-posix)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><p class=MsoNormal><i><span lang=EN-US style='font-size:12.0pt;color:black'>set(AUTOTOOLS_CROSS_COMPILE_FLAGS --host=x86_64-w64-mingw32)</span></i><span lang=EN-US style='font-size:12.0pt;color:black'><o:p></o:p></span></p></div><div><ul type=disc><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'><span lang=EN-US style='font-size:12.0pt'>the resulting scip.exe is dynamically linked against libgcc_s_seh-1.dll and libstdc++-6.dll<o:p></o:p></span></li></ul><ul type=disc><ul type=circle><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2'><span lang=EN-US style='font-size:12.0pt'>these can be located by running <i>x86_64-w64-mingw32-g++-posix -print-file-name=some.dll</i><o:p></o:p></span></li><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2'><span lang=EN-US style='font-size:12.0pt'>both need to be copied into the folder containing scip.exe<o:p></o:p></span></li></ul></ul><ul type=disc><li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'><span lang=EN-US style='font-size:12.0pt'>scip.exe is tested under Windows 10 (64bit)<o:p></o:p></span></li></ul></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>This setup works fine with other nontrivial C++ code.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>Thanks,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'>Tobias<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'><br><br>Siemens Digital Logistics GmbH<br>SL SDL TEC R&D SCS<br>Stumpfstr. 1<br>76131 Karlsruhe, Germany <br><a href="mailto:tobias.stengel@siemens-logistics.com"><span style='color:blue'>mailto:tobias.stengel@siemens-logistics.com</span></a><br><a href="http://www.siemens-digital-logistics.com"><span style='color:blue'>www.siemens-digital-logistics.com</span></a><br><br></span><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Management: Christopher Christian, Christian Schmidt<br>Registered office: Nachtweideweg 1-7, 67227 Frankenthal, Germany<br>Register Court: Ludwigshafen am Rhein, HRB 64386</span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div></div></body></html>