[Ipopt] I can't compile the JavaInterface
Edmund Noon
en108 at doc.ic.ac.uk
Tue Sep 28 06:17:32 EDT 2010
Hi,
I have checked out the trunk (svn co
https://projects.coin-or.org/svn/Ipopt/trunk CoinIpopt) and the
prerequisites which compile okay. The example hs_071_cpp compiles and
executes.
When I try to make the JavaInterface I get lots of errors:-
../../../../Ipopt/contrib/JavaInterface/jipopt.cpp:21:17: error: jni.h:
No such file or directory
In file included from ../../../../Ipopt/contrib/JavaInterface/jipopt.cpp:24:
./org_coinor_Ipopt.h:53: error: ‘JNIEXPORT’ does not name a type
./org_coinor_Ipopt.h:61: error: ‘JNIEXPORT’ does not name a type
./org_coinor_Ipopt.h:69: error: ‘JNIEXPORT’ does not name a type
Is there some code missing? Should I have done something else to get the
JavaInterface Source?
I am using Ubuntu 10.04.
Edmund
More information about the Ipopt
mailing list