This section describes how you can compile IPOPT with the Microsoft Visual C++ compiler under Cygwin. Here you have two options for compiling the Fortran code in the third party dependencies:
Once you have settled on this, do the following:
call "C:
Program Files
Microsoft Visual
Studio 8
VC
vcvarsall.bat"
On my computer, this set the environment variables to that I can use the MSVC++ compiler.
If you want to use also a native Fortran compiler, you need to include something like this
call "C:
Program
Files
Intel
Fortran
compiler80
IA32
BIN
ifortvars.bat"
You might have to search around a bit. The important thing is that, after your change, you can type ``cl'' in a newly opened Cygwin windows, and it finds the Microsoft C++ compiler (and if you want to use it, the Fortran compiler, such as the Intel's ifort).
./configure -enable-doscompile=msvc
Make sure the last message is
Main Ipopt configuration successful
cd ThirdParty/ASL
./compile_MS_ASL
cd -
make,
test the installation with
make test,
and install everything with
make install