Dear All,<div><br></div><div>Thank you Christophe to help me finding the correct command, I didn't realize that a simple merge could do the trick.</div><div><br></div><div>If someone is trying to compile interactive.cpp in Windows with MinGW-GCC, here is the command I used:</div>
<div><br></div><div>To summarize how to compile the interactive.cpp</div><div>=======================================</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>cd C:\xxxx\gmsh-2.5.0-source\gmsh-2.5.0-source\utils\solvers\c++</div>
<div><div>g++ interactive.cpp -L./ WSock32.Lib -lreadline5 -ltermcap -IC:\xxxx\gmsh-2.5.0-source\gmsh-2.5.0-source\utils\solvers\c++</div></div><div><br></div><div>This will output a.exe, ready to be used. In order to compile you will need:</div>
<div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>termcap sources (I used version 1.3.1)</div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>termcap bin (I used version 1.3.1)</div>
</blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>readline sources </div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>readline bin</div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>WSock32.Lib</div>
</blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>libstdc++-6.dll</div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div></blockquote>Once you have readline5.dll, termcap.dll, WSock32.lib and libstdc++-6.dll , just place it in the same folder as interactive.cpp and compile with the line I wrote above.</blockquote>
<br>If anyone needs the .exe compiled or the libs/dll for 32 bit, just email me.<br><br>These are my two cents about this thing. Thank you for your help.<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><br></div></blockquote>J<div><br></div><div>PS. Remember to use ; after every command you write in the console (as in .geo files)</div>