<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1433740265089_12241">Hi,</div><div id="yui_3_16_0_1_1433740265089_12287"><br></div><div id="yui_3_16_0_1_1433740265089_12289" dir="ltr">I'm trying to build a Java interface for Ipopt 3.12.3. I'm using Windows 7 and the latest version of cygwin, and followed the instructions on <a id="yui_3_16_0_1_1433740265089_12382" href="http://www.coin-or.org/Ipopt/documentation/node15.html#SECTION00045100000000000000">Installation on Windows</a> for Ipopt. The configuration script was returned successful, and after running make and make test, Ipopt was shown functional.</div><div id="yui_3_16_0_1_1433740265089_12597" dir="ltr">However, there are several bugs in the Java interface. First, running make in the JavaInterface directory after a successful build of Ipopt creates "jipopt.dll.exe" instead of the expected "jipopt.dll". Running 'make test' after this build will fail. I ran a dll export viewer against it, to check for exported functions on binaries for windows platforms, and the exported functions were clearly meant to be for the java interface. So after renaming it with the proper extention and running 'make test' on it once again, I've got an UnsatisfiedLinkError exception thrown. Apparently the default configure/make scripts for cygwin do not make Jipopt.dll aware of the dependencies. So, I included them and ran 'make test' again, only to find another exception, this time again from Jipopt.dll. After a bit of searching, I realized this was due to the '@numbytes' suffixes appended to the symbols of the exported functions on the dll. So, after editing the makefile in JavaInterface to include '-Wl,--kill-at' and to the CXXFlags and then rebuilding JavaInterface (and renaming the extention), I no longer got any compilation errors or exceptions being thrown. Instead, cygwin shell never returns from 'make test'.</div><div id="yui_3_16_0_1_1433740265089_13280" dir="ltr"><br></div><div id="yui_3_16_0_1_1433740265089_13282" dir="ltr">Maybe I'm not doing something right here? Does anyone a working JavaInterface for Ipopt version 3.11 or up for Windows?<br><tt id="yui_3_16_0_1_1433740265089_12689" style="" class=""> </tt></div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px; background-color: #ffffff;" id="enhancrCard_1" class="link-enhancr-attachment link-enhancr-element" contenteditable="false"><table id="yui_3_16_0_1_1433740265089_12443" class="link-enhancr-element" style="width:450px; height:auto; position: relative; display: block;" border="0" cellpadding="0" cellspacing="0"><tbody id="yui_3_16_0_1_1433740265089_12442"><tr id="yui_3_16_0_1_1433740265089_12504" class="link-enhancr-element"><td id="yui_3_16_0_1_1433740265089_12503" class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12502" class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr id="yui_3_16_0_1_1433740265089_12441" class="link-enhancr-element"><td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td id="yui_3_16_0_1_1433740265089_13300" rowspan="5" class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_13299" class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td id="yui_3_16_0_1_1433740265089_12498" colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12497" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 6pt;"> </div></td><td id="yui_3_16_0_1_1433740265089_12440" rowspan="5" class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12885" class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 20pt;"> </div></td><td class="link-enhancr-element" rowspan="5" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;" width="1"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr id="yui_3_16_0_1_1433740265089_12449"><td id="yui_3_16_0_1_1433740265089_12448" class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';"><div id="yui_3_16_0_1_1433740265089_12447" class="link-enhancr-text-part link-enhancr-element" style="line-height:16.5px; background-color: #ffffff; width: 414px;"><div id="yui_3_16_0_1_1433740265089_12446" class="link-enhancr-element" style="word-wrap: break-word; word-break: break-all;"><span id="yui_3_16_0_1_1433740265089_12452" class="link-enhancr-element icon icon-shrink link-enhancr-toggle"></span><span id="yui_3_16_0_1_1433740265089_12445" class="link-enhancr-element icon icon-close link-enhancr-delete"></span><a id="yui_3_16_0_1_1433740265089_12500" href="http://www.coin-or.org/Ipopt/documentation/node15.html#SECTION00045100000000000000" class="link-enhancr-card-urlWrapper link-enhancr-element" style="text-decoration: none !important; color: #000000 !important; line-height: 100%; font-size: 18px; display: block;"><span id="yui_3_16_0_1_1433740265089_12531" class="link-enhancr-element link-enhancr-card-title" style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; display: inline-block;">Installation on Windows</span></a><div id="yui_3_16_0_1_1433740265089_12454" style="font-size: 13px; line-height: 20px; color: #999999; max-height: 81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" class="link-enhancr-card-description link-enhancr-element">Installation on Windows</div></div></div></td></tr><tr id="yui_3_16_0_1_1433740265089_12458"><td id="yui_3_16_0_1_1433740265089_12457" colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12456" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 6pt;"></div></td></tr><tr id="yui_3_16_0_1_1433740265089_12463"><td id="yui_3_16_0_1_1433740265089_12510" class="link-enhancr-element" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div id="yui_3_16_0_1_1433740265089_12509" class="link-enhancr-element" style="font-size: 0pt;"><a id="yui_3_16_0_1_1433740265089_12508" href="http://www.coin-or.org/Ipopt/documentation/node15.html#SECTION00045100000000000000" class="link-enhancr-card-url link-enhancr-element" style="color: black; text-decoration: none !important;cursor:pointer !important;" target="_blank"><span id="yui_3_16_0_1_1433740265089_12397" class="link-enhancr-element link-enhancr-view-on" style="display: inline-block; line-height: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: 13px; word-break: break-all;"><span id="yui_3_16_0_1_1433740265089_12513" class="link-enhancr-element link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span id="yui_3_16_0_1_1433740265089_12512" style="font-weight: bold" class="link-enhancr-view-on-domain">www.coin-or.org</span></span></span></a></div></td><td id="yui_3_16_0_1_1433740265089_12462" class="link-enhancr-element" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div id="yui_3_16_0_1_1433740265089_12461" class="link-enhancr-element link-enhancr-preview-wrapper" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span id="yui_3_16_0_1_1433740265089_12460" class="link-enhancr-element link-enhancr-preview-by link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr id="yui_3_16_0_1_1433740265089_12467"><td id="yui_3_16_0_1_1433740265089_12466" colspan="2" class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12465" class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 9pt;"></div></td></tr><tr id="yui_3_16_0_1_1433740265089_12471" class="link-enhancr-element"><td id="yui_3_16_0_1_1433740265089_12470" class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div id="yui_3_16_0_1_1433740265089_12469" class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div id="yui_3_16_0_1_1433740265089_12289"> </div><div style="" class="" id="yui_3_16_0_1_1433740265089_12289" dir="ltr"> </div></div></body></html>