<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=content-type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>This is the right list, I don’t think the Java interface has its own
separate bug tracker or mailing list at all.</DIV>
<DIV> </DIV>
<DIV>It looks like there might have been a typo in <A
href="https://projects.coin-or.org/Ipopt/changeset/2498">https://projects.coin-or.org/Ipopt/changeset/2498</A>
.</DIV>
<DIV> </DIV>
<DIV>If you change “int” to “jint” on the right hand side of line 537, does that
fix the problem?</DIV>
<DIV> </DIV>
<DIV>-Tony</DIV>
<DIV> </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=kabbott@newleafpower.com
href="mailto:kabbott@newleafpower.com">Kirk Abbott</A> </DIV>
<DIV><B>Sent:</B> Thursday, December 18, 2014 2:16 PM</DIV>
<DIV><B>To:</B> <A title=ipopt@list.coin-or.org
href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</A> </DIV>
<DIV><B>Cc:</B> <A title=kabbott@daxpy.com
href="mailto:kabbott@daxpy.com">kabbott</A> </DIV>
<DIV><B>Subject:</B> [Ipopt] jipotpt.cpp compilation fails -
Ipopt-3.11.9</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>Hello,<BR><BR>I
have been trying to build from source the jipopt.dll using
Ipopt-3.11.9<BR><BR>I am compiling under <B>Mingw </B>(see below)<BR>$ uname
-a<BR>MINGW32_NT-6.2 ABBOTTK6 1.0.18(0.48/3/2) 2012-11-21 22:34 i686
Msys<BR><BR>The build of the main Ipopt tree works. But when I try to compile
the stuff in contrib/JavaInterface, I get the following
error:<BR><BR>jipopt.cpp: In member function 'virtual bool
Jipopt::get_list_of_nonlinear_variables(Ipopt::Index,
Ipopt::Index*)':<BR>jipopt.cpp:537:48: error: invalid conversion from 'int*' to
'jint* {aka long int*}'
[-fpermissive]<BR>
jint* tmp = new
int[num_nonlin_vars];<BR>
^<BR>make: *** [jipopt.lo] Error 1<BR><BR>Any ideas on how to correct
this?<BR><BR>BTW, is there another forum that I should be directing these
questions to?<BR><BR>Thanks,<BR>Kirk<BR><BR>
<P>
<HR>
_______________________________________________<BR>Ipopt mailing
list<BR>Ipopt@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/ipopt<BR></DIV></DIV></DIV></BODY></HTML>