Hello Stefen,<br>Thanks for your quick reply. <br>It seems it works now. After "make install", no error messages:<br><br>make[4]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>make[1]: Entering directory '/home/Ipopt-3.10.0'<br>make[2]: Entering directory '/home/Ipopt-3.10.0'<br>
<span style="background-color: rgb(255, 255, 255);">make[2]: Nothing to be done for 'install.exec-am'</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">make[2]: Nothing to be done for 'install.data-am'</span><br>
make[2]: Leaving directory'/home/Ipopt-3.10.0'<br>make[1]: Leaving directory'/home/Ipopt-3.10.0'<br><br><br><b>However, it failed to "make test": </b><br><br><br><br>Running unitTests...<br><br>
Testing AMPL Solver Executable...<br><br> ---- 8< ---- Start of test program output ---- 8< ----<br><br>==> Warning: Treating 1 binary and 1 integer variables as continous.<br><br>Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br>
Exception message: Selected linear solver MA27 not available.<br>Tried to obtain MA27 from shared library "libhsl.dll", but the following error o<br>ccured:<br>Windows error while loading dynamic library libhsl.dll<br>
<br>EXIT: Invalid option encountered.<br> ---- 8< ---- End of test program output ---- 8< ----<br><br> ******** Test FAILED! ********<br>Output of the test program is above.<br>Testing C++ Example...<br><br> ---- 8< ---- Start of test program output ---- 8< ----<br>
Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br> Exception message: Selected linear solver MA27 not available.<br>Tried to obtain MA27 from shared library "libhsl.dll", but the following error o<br>
ccured:<br>Windows error while loading dynamic library libhsl.dll<br><br>EXIT: Invalid option encountered.<br><br><br>*** The problem FAILED!<br> ---- 8< ---- End of test program output ---- 8< ----<br><br> ******** Test FAILED! ********<br>
Output of the test program is above.<br>Testing C Example...<br>./run_unitTests: line 69: 4148 Aborted (core dumped) ./hs071_c<br>> tmpfile 2>&1<br><br> ---- 8< ---- Start of test program output ---- 8< ----<br>
---- 8< ---- End of test program output ---- 8< ----<br><br> ******** Test FAILED! ********<br>Output of the test program is above.<br>Testing Fortran Example...<br><br> ---- 8< ---- Start of test program output ---- 8< ----<br>
Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:<br> Exception message: Selected linear solver MA27 not available.<br>Tried to obtain MA27 from shared library "libhsl.dll", but the following error o<br>
ccured:<br>Windows error while loading dynamic library libhsl.dll<br><br>EXIT: Invalid option encountered.<br><br> An error occoured.<br> The error code is -12<br><br> ---- 8< ---- End of test program output ---- 8< ----<br>
<br> ******** Test FAILED! ********<br>Output of the test program is above.<br>make[2]: *** [test] Error 255<br>make[2]: Leaving directory `/home/Ipopt-3.10.0/Ipopt/test'<br>make[1]: *** [unitTest] Error 2<br>make[1]: Leaving directory `/home/Ipopt-3.10.0/Ipopt'<br>
make: *** [test] Error 2<br><br><br><br>Thanks,<br>Min<br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On 24 August 2011 16:50, Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There're new errors after I "make test or install":<br>
Making install in TMatrices<br>
make[3]: Entering directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>LinAlg/Tmatrices'<br>
.deps/IpGenTmatrix.Plo.1:*** multiple target patterns. stop.<br>
</blockquote>
<br></div>
That's a popular bug in cygwin's make:<br>
<a href="https://projects.coin-or.org/BuildTools/wiki/current-issues#Compilation" target="_blank">https://projects.coin-or.org/<u></u>BuildTools/wiki/current-<u></u>issues#Compilation</a><br>
<br>
Stefan<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
make[3]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>LinAlg/TMatrices'<br>
make[2]:***[install-recursive] Error 1<br>
make[2]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>LinAlg'<br>
make[1]:***[install-recursive] Error 1<br>
make[1]:Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make:***[install-recursive] Error 1<br>
<br>
<br>
Thanks!<br>
<br>
Min<br>
<br>
<br>
On 24 August 2011 16:18, Stefan Vigerske<<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-<u></u>berlin.de</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi,<br>
<br>
try adding<br>
#include<cstdio><br>
somewhere at the top of Ipopt/src/Common/IpJournalist.<u></u>**hpp.<br>
<br>
Which compiler you use? (gcc --version)<br>
<br>
Stefan<br>
<br>
dear all,<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
i installed ipopt3.10.0 under cygwin.<br>
After configuration, i got " Main configuration of Ipopt successful".<br>
(config.log, please see the attachment)<br>
However, it failed to "make install" or "make test". The error information<br>
is shown as in the following:<br>
<br>
IpJournalist.hpp:424:5:error: 'FILE' does not name a type"<br>
make[3]: ***[IpDebug.lo] Error 1<br>
make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>**Common'<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/<u></u>**Common'<br>
make[1]: ***[all-recursive] Error 1<br>
make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'<br>
make: ***[all-recursive] Error 1<br>
<br>
<br>
I appreciate your help, thanks in advance!<br>
<br>
Min<br>
<br>
ps:<br>
under WIN7-64 bit system<br>
<br>
<br>
<br>
<br>
______________________________<u></u>**_________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br>
</div></div><a href="http://list.coin-or.org/**mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/**<u></u>mailman/listinfo/ipopt</a><<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://<u></u>list.coin-or.org/mailman/<u></u>listinfo/ipopt</a>><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote></div><br>